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
sourceimpl<'a> TryFromCtx<'a, Ctx, [u8]> for Nlist
impl<'a> TryFromCtx<'a, Ctx, [u8]> for Nlist
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 · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more