Struct goblin::mach::load_command::FvmfileCommand
source · [−]#[repr(C)]pub struct FvmfileCommand {
pub cmd: u32,
pub cmdsize: u32,
pub name: LcStr,
pub header_addr: u32,
}
Expand description
The fvmfile_command contains a reference to a file to be loaded at the specified virtual address. (Presently, this command is reserved for internal use. The kernel ignores this command when loading a program into memory).
Fields
cmd: u32
LC_FVMFILE
cmdsize: u32
includes pathname string
name: LcStr
files pathname
header_addr: u32
files virtual address
Trait Implementations
sourceimpl Clone for FvmfileCommand
impl Clone for FvmfileCommand
sourcefn clone(&self) -> FvmfileCommand
fn clone(&self) -> FvmfileCommand
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 Debug for FvmfileCommand
impl Debug for FvmfileCommand
sourceimpl<'a> TryFromCtx<'a, Endian, [u8]> for FvmfileCommand where
FvmfileCommand: 'a,
impl<'a> TryFromCtx<'a, Endian, [u8]> for FvmfileCommand where
FvmfileCommand: 'a,
sourceimpl<'a> TryIntoCtx<Endian, [u8]> for &'a FvmfileCommand
impl<'a> TryIntoCtx<Endian, [u8]> for &'a FvmfileCommand
sourceimpl TryIntoCtx<Endian, [u8]> for FvmfileCommand
impl TryIntoCtx<Endian, [u8]> for FvmfileCommand
impl Copy for FvmfileCommand
Auto Trait Implementations
impl RefUnwindSafe for FvmfileCommand
impl Send for FvmfileCommand
impl Sync for FvmfileCommand
impl Unpin for FvmfileCommand
impl UnwindSafe for FvmfileCommand
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