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
sourceimpl 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
sourceimpl Clone for ConsoleHeaderTag
impl Clone for ConsoleHeaderTag
sourcefn clone(&self) -> ConsoleHeaderTag
fn clone(&self) -> ConsoleHeaderTag
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for ConsoleHeaderTag
impl Debug for ConsoleHeaderTag
impl Copy 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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more