Struct goblin::mach::load_command::TwolevelHintsCommand
source · [−]#[repr(C)]pub struct TwolevelHintsCommand {
pub cmd: u32,
pub cmdsize: u32,
pub offset: u32,
pub nhints: u32,
}
Expand description
The twolevel_hints_command contains the offset and number of hints in the two-level namespace lookup hints table.
Fields
cmd: u32
LC_TWOLEVEL_HINTS
cmdsize: u32
sizeof(struct twolevel_hints_command)
offset: u32
offset to the hint table
nhints: u32
number of hints in the hint table
Trait Implementations
sourceimpl Clone for TwolevelHintsCommand
impl Clone for TwolevelHintsCommand
sourcefn clone(&self) -> TwolevelHintsCommand
fn clone(&self) -> TwolevelHintsCommand
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 TwolevelHintsCommand
impl Debug for TwolevelHintsCommand
sourceimpl<'a> TryFromCtx<'a, Endian, [u8]> for TwolevelHintsCommand where
TwolevelHintsCommand: 'a,
impl<'a> TryFromCtx<'a, Endian, [u8]> for TwolevelHintsCommand where
TwolevelHintsCommand: 'a,
sourceimpl<'a> TryIntoCtx<Endian, [u8]> for &'a TwolevelHintsCommand
impl<'a> TryIntoCtx<Endian, [u8]> for &'a TwolevelHintsCommand
sourceimpl TryIntoCtx<Endian, [u8]> for TwolevelHintsCommand
impl TryIntoCtx<Endian, [u8]> for TwolevelHintsCommand
impl Copy for TwolevelHintsCommand
Auto Trait Implementations
impl RefUnwindSafe for TwolevelHintsCommand
impl Send for TwolevelHintsCommand
impl Sync for TwolevelHintsCommand
impl Unpin for TwolevelHintsCommand
impl UnwindSafe for TwolevelHintsCommand
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