Enum elflib::SymbolSection
source · pub enum SymbolSection<'a> {
UndefinedSection,
AbsoluteSymbol,
Section(SectionHeaderRef<'a>),
}
Variants§
UndefinedSection
the symbol is not defined relative to any section
AbsoluteSymbol
the symbol is absolute.
Section(SectionHeaderRef<'a>)
Implementations§
source§impl<'a> SymbolSection<'a>
impl<'a> SymbolSection<'a>
pub fn as_optional_section(self) -> Option<SectionHeaderRef<'a>>
Auto Trait Implementations§
impl<'a> Freeze for SymbolSection<'a>
impl<'a> RefUnwindSafe for SymbolSection<'a>
impl<'a> Send for SymbolSection<'a>
impl<'a> Sync for SymbolSection<'a>
impl<'a> Unpin for SymbolSection<'a>
impl<'a> UnwindSafe for SymbolSection<'a>
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