Struct multiboot2_header::ConsoleHeaderTag
source · #[repr(C)]pub struct ConsoleHeaderTag { /* private fields */ }Expand description
Tells that a console must be available in MBI. Only relevant for legacy BIOS.
Implementations§
source§impl ConsoleHeaderTag
impl ConsoleHeaderTag
pub const fn new( flags: HeaderTagFlag, console_flags: ConsoleHeaderTagFlags ) -> Self
pub const fn typ(&self) -> HeaderTagType
pub const fn flags(&self) -> HeaderTagFlag
pub const fn size(&self) -> u32
pub const fn console_flags(&self) -> ConsoleHeaderTagFlags
Trait Implementations§
source§impl Clone for ConsoleHeaderTag
impl Clone for ConsoleHeaderTag
source§fn clone(&self) -> ConsoleHeaderTag
fn clone(&self) -> ConsoleHeaderTag
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 ConsoleHeaderTag
impl Debug for ConsoleHeaderTag
source§impl Hash for ConsoleHeaderTag
impl Hash for ConsoleHeaderTag
source§impl Ord for ConsoleHeaderTag
impl Ord for ConsoleHeaderTag
source§fn cmp(&self, other: &ConsoleHeaderTag) -> Ordering
fn cmp(&self, other: &ConsoleHeaderTag) -> 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 ConsoleHeaderTag
impl PartialEq for ConsoleHeaderTag
source§fn eq(&self, other: &ConsoleHeaderTag) -> bool
fn eq(&self, other: &ConsoleHeaderTag) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd for ConsoleHeaderTag
impl PartialOrd for ConsoleHeaderTag
source§fn partial_cmp(&self, other: &ConsoleHeaderTag) -> Option<Ordering>
fn partial_cmp(&self, other: &ConsoleHeaderTag) -> 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 ConsoleHeaderTag
impl Eq for ConsoleHeaderTag
impl StructuralEq for ConsoleHeaderTag
impl StructuralPartialEq for ConsoleHeaderTag
Auto Trait Implementations§
impl RefUnwindSafe for ConsoleHeaderTag
impl Send for ConsoleHeaderTag
impl Sync for ConsoleHeaderTag
impl Unpin for ConsoleHeaderTag
impl UnwindSafe for ConsoleHeaderTag
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