pub struct ParsedLoadCommand { /* private fields */ }Expand description
The ParsedLoadCommand type.
Implementations§
Source§impl ParsedLoadCommand
impl ParsedLoadCommand
Sourcepub fn kind(&self) -> &LoadCommand
pub fn kind(&self) -> &LoadCommand
Parsed command payload.
Sourcepub const fn file_offset(&self) -> ThinFileOffset
pub const fn file_offset(&self) -> ThinFileOffset
Slice-relative byte offset of the command header.
Trait Implementations§
Source§impl Clone for ParsedLoadCommand
impl Clone for ParsedLoadCommand
Source§fn clone(&self) -> ParsedLoadCommand
fn clone(&self) -> ParsedLoadCommand
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ParsedLoadCommand
impl RefUnwindSafe for ParsedLoadCommand
impl Send for ParsedLoadCommand
impl Sync for ParsedLoadCommand
impl Unpin for ParsedLoadCommand
impl UnsafeUnpin for ParsedLoadCommand
impl UnwindSafe for ParsedLoadCommand
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