#[repr(C)]pub struct DylibUseCommand<E: Endian> {
pub cmd: U32<E>,
pub cmdsize: U32<E>,
pub nameoff: U32<E>,
pub marker: U32<E>,
pub current_version: U32<E>,
pub compat_version: U32<E>,
pub flags: U32<E>,
}Fields§
§cmd: U32<E>LC_LOAD_DYLIB or LC_LOAD_WEAK_DYLIB
cmdsize: U32<E>overall size, including path
nameoff: U32<E>== 28, dylibs’s path offset
marker: U32<E>== DYLIB_USE_MARKER
current_version: U32<E>dylib’s current version number
compat_version: U32<E>dylib’s compatibility version number
flags: U32<E>DYLIB_USE_… flags
Trait Implementations§
Source§impl<E: Clone + Endian> Clone for DylibUseCommand<E>
impl<E: Clone + Endian> Clone for DylibUseCommand<E>
Source§fn clone(&self) -> DylibUseCommand<E>
fn clone(&self) -> DylibUseCommand<E>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl<E: Copy + Endian> Copy for DylibUseCommand<E>
impl<E: Endian> Pod for DylibUseCommand<E>
Auto Trait Implementations§
impl<E> Freeze for DylibUseCommand<E>
impl<E> RefUnwindSafe for DylibUseCommand<E>where
E: RefUnwindSafe,
impl<E> Send for DylibUseCommand<E>where
E: Send,
impl<E> Sync for DylibUseCommand<E>where
E: Sync,
impl<E> Unpin for DylibUseCommand<E>where
E: Unpin,
impl<E> UnsafeUnpin for DylibUseCommand<E>
impl<E> UnwindSafe for DylibUseCommand<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