pub struct SectionFlags(/* private fields */);Expand description
The flags field of a section structure is separated into two parts a section type and section attributes.
The section types are mutually exclusive (it can only have one type) but the section attributes are not (it may have more than one attribute).
Implementations§
Source§impl SectionFlags
impl SectionFlags
pub fn sect_type(self) -> u32
pub fn sect_attrs(self) -> SectionAttributes
Trait Implementations§
Source§impl Clone for SectionFlags
impl Clone for SectionFlags
Source§fn clone(&self) -> SectionFlags
fn clone(&self) -> SectionFlags
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SectionFlags
impl Debug for SectionFlags
Source§impl From<SectionFlags> for u32
impl From<SectionFlags> for u32
Source§fn from(f: SectionFlags) -> u32
fn from(f: SectionFlags) -> u32
Converts to this type from the input type.
Source§impl PartialEq for SectionFlags
impl PartialEq for SectionFlags
impl Copy for SectionFlags
impl Eq for SectionFlags
impl StructuralPartialEq for SectionFlags
Auto Trait Implementations§
impl Freeze for SectionFlags
impl RefUnwindSafe for SectionFlags
impl Send for SectionFlags
impl Sync for SectionFlags
impl Unpin for SectionFlags
impl UnwindSafe for SectionFlags
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more