Enum object::SegmentFlags 
source · [−]#[non_exhaustive]
pub enum SegmentFlags {
    None,
    Elf {
        p_flags: u32,
    },
    MachO {
        flags: u32,
        maxprot: u32,
        initprot: u32,
    },
    Coff {
        characteristics: u32,
    },
}Expand description
Segment flags that are specific to each file format.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
None
No segment flags.
Elf
Fields
p_flags: u32p_flags field in the segment header.
ELF segment flags.
MachO
Fields
flags: u32flags field in the segment header.
maxprot: u32maxprot field in the segment header.
initprot: u32initprot field in the segment header.
Mach-O segment flags.
Coff
Fields
characteristics: u32Characteristics field in the segment header.
COFF segment flags.
Trait Implementations
sourceimpl Clone for SegmentFlags
 
impl Clone for SegmentFlags
sourcefn clone(&self) -> SegmentFlags
 
fn clone(&self) -> SegmentFlags
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
 
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for SegmentFlags
 
impl Debug for SegmentFlags
sourceimpl Hash for SegmentFlags
 
impl Hash for SegmentFlags
sourceimpl PartialEq<SegmentFlags> for SegmentFlags
 
impl PartialEq<SegmentFlags> for SegmentFlags
sourcefn eq(&self, other: &SegmentFlags) -> bool
 
fn eq(&self, other: &SegmentFlags) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &SegmentFlags) -> bool
 
fn ne(&self, other: &SegmentFlags) -> bool
This method tests for !=.
impl Copy for SegmentFlags
impl Eq for SegmentFlags
impl StructuralEq for SegmentFlags
impl StructuralPartialEq for SegmentFlags
Auto Trait Implementations
impl RefUnwindSafe for SegmentFlags
impl Send for SegmentFlags
impl Sync for SegmentFlags
impl Unpin for SegmentFlags
impl UnwindSafe for SegmentFlags
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
    T: ?Sized, 
 
impl<T> BorrowMut<T> for T where
    T: ?Sized, 
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
 
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> CallHasher for T where
    T: Hash + ?Sized, 
 
impl<T> CallHasher for T where
    T: Hash + ?Sized, 
sourceimpl<Q, K> Equivalent<K> for Q where
    Q: Eq + ?Sized,
    K: Borrow<Q> + ?Sized, 
 
impl<Q, K> Equivalent<K> for Q where
    Q: Eq + ?Sized,
    K: Borrow<Q> + ?Sized, 
sourcepub fn equivalent(&self, key: &K) -> bool
 
pub fn equivalent(&self, key: &K) -> bool
Compare self to key and return true if they are equal.
sourceimpl<T> ToOwned for T where
    T: Clone, 
 
impl<T> ToOwned for T where
    T: Clone, 
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
 
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
 
pub fn clone_into(&self, target: &mut T)
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more