#[repr(transparent)]pub struct SectionType(pub u8);Expand description
EFI_SECTION_TYPE
Tuple Fields§
§0: u8Implementations§
Source§impl SectionType
impl SectionType
pub const ALL: Self
pub const COMPRESSION: Self
pub const GUID_DEFINED: Self
pub const DISPOSABLE: Self
pub const PE32: Self
pub const PIC: Self
pub const TE: Self
pub const DXE_DEPEX: Self
pub const VERSION: Self
pub const USER_INTERFACE: Self
pub const COMPATIBILITY16: Self
pub const FIRMWARE_VOLUME_IMAGE: Self
pub const FREEFORM_SUBTYPE_GUID: Self
pub const RAW: Self
pub const PEI_DEPEX: Self
pub const MM_DEPEX: 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 Hash for SectionType
impl Hash 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