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> 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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more