pub struct Nlist {
pub n_strx: usize,
pub n_type: u8,
pub n_sect: usize,
pub n_desc: u16,
pub n_value: u64,
}
Fields
n_strx: usize
index into the string table
n_type: u8
type flag, see below
n_sect: usize
section number or NO_SECT
n_desc: u16
see <mach-o/stab.h>
n_value: u64
value of this symbol (or stab offset)
Implementations
sourceimpl Nlist
impl Nlist
sourcepub fn is_undefined(&self) -> bool
pub fn is_undefined(&self) -> bool
Whether this symbol is undefined or not
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Nlist
impl Send for Nlist
impl Sync for Nlist
impl Unpin for Nlist
impl UnwindSafe for Nlist
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