Struct stivale_boot::v2::StivaleFramebufferHeaderTag
source · [−]#[repr(C, packed)]pub struct StivaleFramebufferHeaderTag { /* private fields */ }
Expand description
If this tag is present the bootloader is instructed to initialise a graphical framebuffer video mode. Omitting this tag will make the bootloader default to a CGA-compatible text mode, if supported.
Implementations
sourceimpl StivaleFramebufferHeaderTag
impl StivaleFramebufferHeaderTag
pub const fn new() -> Self
pub const fn next(self, next: *const ()) -> Self
pub const fn framebuffer_width(self, value: u16) -> Self
pub const fn framebuffer_height(self, value: u16) -> Self
pub const fn framebuffer_bpp(self, value: u16) -> Self
pub const fn _padding(self, value: u16) -> Self
Trait Implementations
impl Send for StivaleFramebufferHeaderTag
impl Sync for StivaleFramebufferHeaderTag
Auto Trait Implementations
impl RefUnwindSafe for StivaleFramebufferHeaderTag
impl Unpin for StivaleFramebufferHeaderTag
impl UnwindSafe for StivaleFramebufferHeaderTag
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