Struct object::macho::DylibCommand
source · [−]#[repr(C)]pub struct DylibCommand<E: Endian> {
pub cmd: U32<E>,
pub cmdsize: U32<E>,
pub dylib: Dylib<E>,
}
Fields
cmd: U32<E>
LC_ID_DYLIB, LC_LOAD_{,WEAK_}DYLIB, LC_REEXPORT_DYLIB
cmdsize: U32<E>
includes pathname string
dylib: Dylib<E>
the library identification
Trait Implementations
sourceimpl<E: Clone + Endian> Clone for DylibCommand<E>
impl<E: Clone + Endian> Clone for DylibCommand<E>
sourcefn clone(&self) -> DylibCommand<E>
fn clone(&self) -> DylibCommand<E>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl<E: Debug + Endian> Debug for DylibCommand<E>
impl<E: Debug + Endian> Debug for DylibCommand<E>
impl<E: Copy + Endian> Copy for DylibCommand<E>
impl<E: Endian> Pod for DylibCommand<E>
Auto Trait Implementations
impl<E> RefUnwindSafe for DylibCommand<E> where
E: RefUnwindSafe,
impl<E> Send for DylibCommand<E> where
E: Send,
impl<E> Sync for DylibCommand<E> where
E: Sync,
impl<E> Unpin for DylibCommand<E> where
E: Unpin,
impl<E> UnwindSafe for DylibCommand<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