Enum multiboot2_header::HeaderTagFlag
source · #[repr(u16)]pub enum HeaderTagFlag {
Required = 0,
Optional = 1,
}Expand description
Flags for Multiboot2 header tags.
Variants§
Trait Implementations§
source§impl Clone for HeaderTagFlag
impl Clone for HeaderTagFlag
source§fn clone(&self) -> HeaderTagFlag
fn clone(&self) -> HeaderTagFlag
Returns a copy 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§fn eq(&self, other: &HeaderTagFlag) -> bool
fn eq(&self, other: &HeaderTagFlag) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd for HeaderTagFlag
impl PartialOrd for HeaderTagFlag
source§fn partial_cmp(&self, other: &HeaderTagFlag) -> Option<Ordering>
fn partial_cmp(&self, other: &HeaderTagFlag) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moreimpl 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