[][src]Enum object::write::Mangling

pub enum Mangling {
    None,
    Coff,
    CoffI386,
    Elf,
    MachO,
}

The symbol name mangling scheme.

Variants

None

No symbol mangling.

Coff

Windows COFF symbol mangling.

CoffI386

Windows COFF i386 symbol mangling.

Elf

ELF symbol mangling.

MachO

Mach-O symbol mangling.

Implementations

impl Mangling[src]

pub fn default(format: BinaryFormat, architecture: Architecture) -> Self[src]

Return the default symboling mangling for the given format and architecture.

pub fn global_prefix(self) -> Option<u8>[src]

Return the prefix to use for global symbols.

Trait Implementations

impl Clone for Mangling[src]

impl Copy for Mangling[src]

impl Debug for Mangling[src]

impl Eq for Mangling[src]

impl PartialEq<Mangling> for Mangling[src]

impl StructuralEq for Mangling[src]

impl StructuralPartialEq for Mangling[src]

Auto Trait Implementations

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.