pub enum ConsoleHeaderTagFlags {
ConsoleRequired,
EgaTextSupported,
Custom(u32),
}Expand description
The console flags of the ConsoleHeaderTag.
This is a higher level abstraction for ConsoleHeaderTagFlagsRaw.
Variants§
ConsoleRequired
At least one of the consoles supported by the bootloader must be present and information about it must be available in the boot information.
EgaTextSupported
The OS image has EGA text support.
Custom(u32)
Value without a specified semantic in the specification.
Implementations§
Trait Implementations§
Source§impl Clone for ConsoleHeaderTagFlags
impl Clone for ConsoleHeaderTagFlags
Source§fn clone(&self) -> ConsoleHeaderTagFlags
fn clone(&self) -> ConsoleHeaderTagFlags
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ConsoleHeaderTagFlags
Source§impl Debug for ConsoleHeaderTagFlags
impl Debug for ConsoleHeaderTagFlags
Source§impl Display for ConsoleHeaderTagFlags
impl Display for ConsoleHeaderTagFlags
impl Eq for ConsoleHeaderTagFlags
Source§impl From<ConsoleHeaderTagFlags> for u32
impl From<ConsoleHeaderTagFlags> for u32
Source§fn from(val: ConsoleHeaderTagFlags) -> Self
fn from(val: ConsoleHeaderTagFlags) -> Self
Converts to this type from the input type.
Source§impl From<ConsoleHeaderTagFlags> for ConsoleHeaderTagFlagsRaw
impl From<ConsoleHeaderTagFlags> for ConsoleHeaderTagFlagsRaw
Source§fn from(val: ConsoleHeaderTagFlags) -> Self
fn from(val: ConsoleHeaderTagFlags) -> Self
Converts to this type from the input type.
Source§impl From<ConsoleHeaderTagFlagsRaw> for ConsoleHeaderTagFlags
impl From<ConsoleHeaderTagFlagsRaw> for ConsoleHeaderTagFlags
Source§fn from(raw: ConsoleHeaderTagFlagsRaw) -> Self
fn from(raw: ConsoleHeaderTagFlagsRaw) -> Self
Converts to this type from the input type.
Source§impl From<u32> for ConsoleHeaderTagFlags
impl From<u32> for ConsoleHeaderTagFlags
Source§impl Hash for ConsoleHeaderTagFlags
impl Hash for ConsoleHeaderTagFlags
Source§impl Ord for ConsoleHeaderTagFlags
impl Ord for ConsoleHeaderTagFlags
Source§fn cmp(&self, other: &ConsoleHeaderTagFlags) -> Ordering
fn cmp(&self, other: &ConsoleHeaderTagFlags) -> Ordering
1.21.0 (const: unstable) · 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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for ConsoleHeaderTagFlags
impl PartialEq for ConsoleHeaderTagFlags
Source§impl PartialEq<ConsoleHeaderTagFlags> for u32
impl PartialEq<ConsoleHeaderTagFlags> for u32
Source§impl PartialEq<u32> for ConsoleHeaderTagFlags
impl PartialEq<u32> for ConsoleHeaderTagFlags
Source§impl PartialOrd for ConsoleHeaderTagFlags
impl PartialOrd for ConsoleHeaderTagFlags
impl StructuralPartialEq for ConsoleHeaderTagFlags
Auto Trait Implementations§
impl Freeze for ConsoleHeaderTagFlags
impl RefUnwindSafe for ConsoleHeaderTagFlags
impl Send for ConsoleHeaderTagFlags
impl Sync for ConsoleHeaderTagFlags
impl Unpin for ConsoleHeaderTagFlags
impl UnsafeUnpin for ConsoleHeaderTagFlags
impl UnwindSafe for ConsoleHeaderTagFlags
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