#[repr(C)]pub struct LcStr<E: Endian> {
pub offset: U32<E>,
}
Expand description
A variable length string in a load command.
The strings are stored just after the load command structure and
the offset is from the start of the load command structure. The size
of the string is reflected in the cmdsize
field of the load command.
Once again any padded bytes to bring the cmdsize
field to a multiple
of 4 bytes must be zero.
Fields§
§offset: U32<E>
offset to the string
Trait Implementations§
impl<E: Copy + Endian> Copy for LcStr<E>
impl<E: Endian> Pod for LcStr<E>
Auto Trait Implementations§
impl<E> Freeze for LcStr<E>
impl<E> RefUnwindSafe for LcStr<E>where
E: RefUnwindSafe,
impl<E> Send for LcStr<E>where
E: Send,
impl<E> Sync for LcStr<E>where
E: Sync,
impl<E> Unpin for LcStr<E>where
E: Unpin,
impl<E> UnwindSafe for LcStr<E>where
E: UnwindSafe,
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)