pub struct SectionFlags {
pub alloc: bool,
pub write: bool,
pub exec: bool,
pub merge: bool,
pub strings: bool,
pub tls: bool,
pub group: bool,
}Fields§
§alloc: bool§write: bool§exec: bool§merge: bool§strings: bool§tls: bool§group: boolImplementations§
Source§impl SectionFlags
impl SectionFlags
pub fn text() -> SectionFlags
pub fn data() -> SectionFlags
pub fn rodata() -> SectionFlags
pub fn bss() -> SectionFlags
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 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for SectionFlags
Source§impl Debug for SectionFlags
impl Debug for SectionFlags
Source§impl Default for SectionFlags
impl Default for SectionFlags
Source§fn default() -> SectionFlags
fn default() -> SectionFlags
Returns the “default value” for a type. Read more
impl Eq for SectionFlags
Source§impl PartialEq for SectionFlags
impl PartialEq 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 UnsafeUnpin 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