#[repr(u16)]pub enum HeaderTagFlag {
Required = 0,
Optional = 1,
}
Expand description
Flags for Multiboot2 header tags.
Variants§
Required = 0
Bootloader must provide this tag. If this is not possible, the bootloader will fail loading the kernel.
Optional = 1
Bootloader should provide the tag if possible.
Trait Implementations§
Source§impl Clone for HeaderTagFlag
impl Clone for HeaderTagFlag
Source§fn clone(&self) -> HeaderTagFlag
fn clone(&self) -> HeaderTagFlag
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 HeaderTagFlag
impl Debug for HeaderTagFlag
Source§impl Hash for HeaderTagFlag
impl Hash for HeaderTagFlag
Source§impl Ord for HeaderTagFlag
impl Ord for HeaderTagFlag
Source§fn cmp(&self, other: &HeaderTagFlag) -> Ordering
fn cmp(&self, other: &HeaderTagFlag) -> 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 HeaderTagFlag
impl PartialEq for HeaderTagFlag
Source§impl PartialOrd for HeaderTagFlag
impl PartialOrd for HeaderTagFlag
impl Copy for HeaderTagFlag
impl Eq for HeaderTagFlag
impl StructuralPartialEq for HeaderTagFlag
Auto Trait Implementations§
impl Freeze for HeaderTagFlag
impl RefUnwindSafe for HeaderTagFlag
impl Send for HeaderTagFlag
impl Sync for HeaderTagFlag
impl Unpin for HeaderTagFlag
impl UnwindSafe for HeaderTagFlag
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