Enum object::SectionFlags[][src]

pub enum SectionFlags {
    None,
    Elf {
        sh_flags: u64,
    },
    MachO {
        flags: u32,
    },
    Coff {
        characteristics: u32,
    },
}

Section flags that are specific to each file format.

Variants

None

No section flags.

Elf

ELF section flags.

Fields of Elf

sh_flags: u64

sh_flags field in the section header.

MachO

Mach-O section flags.

Fields of MachO

flags: u32

flags field in the section header.

Coff

COFF section flags.

Fields of Coff

characteristics: u32

Characteristics field in the section header.

Trait Implementations

impl Clone for SectionFlags[src]

impl Copy for SectionFlags[src]

impl Debug for SectionFlags[src]

impl Eq for SectionFlags[src]

impl PartialEq<SectionFlags> for SectionFlags[src]

impl StructuralEq for SectionFlags[src]

impl StructuralPartialEq for SectionFlags[src]

Auto Trait Implementations

impl Send for SectionFlags

impl Sync for SectionFlags

impl Unpin for SectionFlags

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<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.