Enum atom_macho::nlist::NTypeField
source · [−]pub enum NTypeField {
Norm {
n_pext: bool,
n_type: NType,
n_ext: bool,
},
Stab(DebugSymbol),
}
Variants
Norm
Stab(DebugSymbol)
if any of n_stab bits on, this entry is a symbolic debugging entriy.
Implementations
sourceimpl NTypeField
impl NTypeField
pub const N_STAB_MASK: u8
pub const N_PEXT_MASK: u8
pub const N_TYPE_MASK: u8
pub const N_EXT_MASK: u8
pub fn from_u8(n: u8) -> Self
pub fn to_u8(self) -> u8
Trait Implementations
sourceimpl Clone for NTypeField
impl Clone for NTypeField
sourcefn clone(&self) -> NTypeField
fn clone(&self) -> NTypeField
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 NTypeField
impl Debug for NTypeField
sourceimpl PartialEq<NTypeField> for NTypeField
impl PartialEq<NTypeField> for NTypeField
sourcefn eq(&self, other: &NTypeField) -> bool
fn eq(&self, other: &NTypeField) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &NTypeField) -> bool
fn ne(&self, other: &NTypeField) -> bool
This method tests for !=
.
impl Copy for NTypeField
impl Eq for NTypeField
impl StructuralEq for NTypeField
impl StructuralPartialEq for NTypeField
Auto Trait Implementations
impl RefUnwindSafe for NTypeField
impl Send for NTypeField
impl Sync for NTypeField
impl Unpin for NTypeField
impl UnwindSafe for NTypeField
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
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.
sourcefn clone_into(&self, target: &mut T)
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