pub struct SectionType(/* private fields */);
Implementations§
Source§impl SectionType
impl SectionType
pub fn raw(self) -> u32
pub fn from_header(header: &SectionHeader64<LittleEndian>) -> Self
pub fn from_u32(raw: u32) -> Self
Trait Implementations§
Source§impl Clone for SectionType
impl Clone for SectionType
Source§fn clone(&self) -> SectionType
fn clone(&self) -> SectionType
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 SectionType
impl Debug for SectionType
Source§impl Ord for SectionType
impl Ord for SectionType
Source§fn cmp(&self, other: &SectionType) -> Ordering
fn cmp(&self, other: &SectionType) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for SectionType
impl PartialEq for SectionType
Source§impl PartialOrd for SectionType
impl PartialOrd for SectionType
impl Copy for SectionType
impl Eq for SectionType
impl StructuralPartialEq for SectionType
Auto Trait Implementations§
impl Freeze for SectionType
impl RefUnwindSafe for SectionType
impl Send for SectionType
impl Sync for SectionType
impl Unpin for SectionType
impl UnwindSafe for SectionType
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