Struct elf_riscv32::SectionType
source · [−]#[repr(transparent)]pub struct SectionType(_);
Implementations
sourceimpl SectionType
impl SectionType
pub const Null: Self = _
pub const Program: Self = _
pub const SymbolTable: Self = _
pub const StringTable: Self = _
pub const Rela: Self = _
pub const HashTable: Self = _
pub const Dynamic: Self = _
pub const Note: Self = _
pub const NoBits: Self = _
pub const Rel: Self = _
pub const DynamicSymbolTable: Self = _
pub const InitArray: Self = _
pub const FiniArray: Self = _
pub const PreinitArray: Self = _
pub const Group: Self = _
pub const SymbolIndex: Self = _
pub fn validate(self) -> Result<()>
Trait Implementations
sourceimpl Clone for SectionType
impl Clone for SectionType
sourcefn clone(&self) -> SectionType
fn clone(&self) -> SectionType
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 SectionType
impl Debug for SectionType
sourceimpl From<SectionType> for u32
impl From<SectionType> for u32
sourcefn from(value: SectionType) -> Self
fn from(value: SectionType) -> Self
Converts to this type from the input type.
sourceimpl PartialEq<SectionType> for SectionType
impl PartialEq<SectionType> for SectionType
sourcefn eq(&self, other: &SectionType) -> bool
fn eq(&self, other: &SectionType) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &SectionType) -> bool
fn ne(&self, other: &SectionType) -> bool
This method tests for !=
.
sourceimpl TryFrom<u32> for SectionType
impl TryFrom<u32> for SectionType
impl Copy for SectionType
impl Eq for SectionType
impl StructuralEq for SectionType
impl StructuralPartialEq for SectionType
Auto Trait Implementations
impl RefUnwindSafe for SectionType
impl Send for SectionType
impl Sync for SectionType
impl Unpin for SectionType
impl UnwindSafe for SectionType
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more