[][src]Enum object::SymbolFlags

pub enum SymbolFlags<Section> {
    None,
    Elf {
        st_info: u8,
        st_other: u8,
    },
    MachO {
        n_desc: u16,
    },
    CoffSection {
        selection: u8,
        associative_section: Option<Section>,
    },
}

Symbol flags that are specific to each file format.

Variants

None

No symbol flags.

Elf

ELF symbol flags.

Fields of Elf

st_info: u8

st_info field in the ELF symbol.

st_other: u8

st_other field in the ELF symbol.

MachO

Mach-O symbol flags.

Fields of MachO

n_desc: u16

n_desc field in the Mach-O symbol.

CoffSection

COFF flags for a section symbol.

Fields of CoffSection

selection: u8

Selection field in the auxiliary symbol for the section.

associative_section: Option<Section>

Number field in the auxiliary symbol for the section.

Trait Implementations

impl<Section: Clone> Clone for SymbolFlags<Section>[src]

impl<Section: Copy> Copy for SymbolFlags<Section>[src]

impl<Section: Debug> Debug for SymbolFlags<Section>[src]

impl<Section: Eq> Eq for SymbolFlags<Section>[src]

impl<Section: PartialEq> PartialEq<SymbolFlags<Section>> for SymbolFlags<Section>[src]

impl<Section> StructuralEq for SymbolFlags<Section>[src]

impl<Section> StructuralPartialEq for SymbolFlags<Section>[src]

Auto Trait Implementations

impl<Section> RefUnwindSafe for SymbolFlags<Section> where
    Section: RefUnwindSafe

impl<Section> Send for SymbolFlags<Section> where
    Section: Send

impl<Section> Sync for SymbolFlags<Section> where
    Section: Sync

impl<Section> Unpin for SymbolFlags<Section> where
    Section: Unpin

impl<Section> UnwindSafe for SymbolFlags<Section> where
    Section: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.