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

Gets this symbol’s type in bits 0xe

Gets the str representation of the type of this symbol

Whether this symbol is global or not

Whether this symbol is weak or not

Whether this symbol is undefined or not

Whether this symbol is a symbolic debugging entry

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.