Struct object::macho::NoteCommand
source · #[repr(C)]pub struct NoteCommand<E: Endian> {
pub cmd: U32<E>,
pub cmdsize: U32<E>,
pub data_owner: [u8; 16],
pub offset: U64<E>,
pub size: U64<E>,
}
Fields§
§cmd: U32<E>
LC_NOTE
cmdsize: U32<E>
sizeof(struct NoteCommand)
data_owner: [u8; 16]
owner name for this LC_NOTE
offset: U64<E>
file offset of this data
size: U64<E>
length of data region
Trait Implementations§
source§impl<E: Clone + Endian> Clone for NoteCommand<E>
impl<E: Clone + Endian> Clone for NoteCommand<E>
source§fn clone(&self) -> NoteCommand<E>
fn clone(&self) -> NoteCommand<E>
Returns a copy 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 NoteCommand<E>
impl<E: Endian> Pod for NoteCommand<E>
Auto Trait Implementations§
impl<E> Freeze for NoteCommand<E>
impl<E> RefUnwindSafe for NoteCommand<E>where
E: RefUnwindSafe,
impl<E> Send for NoteCommand<E>where
E: Send,
impl<E> Sync for NoteCommand<E>where
E: Sync,
impl<E> Unpin for NoteCommand<E>where
E: Unpin,
impl<E> UnwindSafe for NoteCommand<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
)