pub enum Flag {
Write,
Alloc,
ExecInstr,
Merge,
Strings,
InfoLink,
LinkOrder,
OSNonConforming,
Group,
TLS,
COMPRESSED,
}
Expand description
Section flags
Variants§
Write
Writable
Alloc
Occupies memory during execution
ExecInstr
Executable
Merge
Might be merged
Strings
Contains nul-terminated strings
InfoLink
`sh_info’ contains SHT index
LinkOrder
Preserve order after combining
OSNonConforming
Non-standard OS specific handling required
Group
Section is member of a group
TLS
Section hold thread-local data
COMPRESSED
Section with compressed data
Trait Implementations§
Source§impl From<u64> for Flag
impl From<u64> for Flag
Source§fn from(v: Elf64Xword) -> Self
fn from(v: Elf64Xword) -> Self
Converts to this type from the input type.
Source§impl Into<u64> for Flag
impl Into<u64> for Flag
Source§fn into(self) -> Elf64Xword
fn into(self) -> Elf64Xword
Converts this type into the (usually inferred) input type.
Source§impl Ord for Flag
impl Ord for Flag
Source§impl PartialOrd for Flag
impl PartialOrd for Flag
impl Copy for Flag
impl Eq for Flag
impl StructuralPartialEq for Flag
Auto Trait Implementations§
impl Freeze for Flag
impl RefUnwindSafe for Flag
impl Send for Flag
impl Sync for Flag
impl Unpin for Flag
impl UnwindSafe for Flag
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