Struct multiboot2::FramebufferTag
source · [−]pub struct FramebufferTag<'a> {
pub address: u64,
pub pitch: u32,
pub width: u32,
pub height: u32,
pub bpp: u8,
pub buffer_type: FramebufferType<'a>,
}
Expand description
The VBE Framebuffer information Tag.
Fields
address: u64
Contains framebuffer physical address.
This field is 64-bit wide but bootloader should set it under 4GiB if possible for compatibility with payloads which aren’t aware of PAE or amd64.
pitch: u32
Contains the pitch in bytes.
width: u32
Contains framebuffer width in pixels.
height: u32
Contains framebuffer height in pixels.
bpp: u8
Contains number of bits per pixel.
buffer_type: FramebufferType<'a>
The type of framebuffer, one of: Indexed
, RGB
or Text
.
Trait Implementations
sourceimpl<'a> Debug for FramebufferTag<'a>
impl<'a> Debug for FramebufferTag<'a>
sourceimpl<'a> PartialEq<FramebufferTag<'a>> for FramebufferTag<'a>
impl<'a> PartialEq<FramebufferTag<'a>> for FramebufferTag<'a>
sourcefn eq(&self, other: &FramebufferTag<'a>) -> bool
fn eq(&self, other: &FramebufferTag<'a>) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &FramebufferTag<'a>) -> bool
fn ne(&self, other: &FramebufferTag<'a>) -> bool
This method tests for !=
.
impl<'a> Eq for FramebufferTag<'a>
impl<'a> StructuralEq for FramebufferTag<'a>
impl<'a> StructuralPartialEq for FramebufferTag<'a>
Auto Trait Implementations
impl<'a> RefUnwindSafe for FramebufferTag<'a>
impl<'a> Send for FramebufferTag<'a>
impl<'a> Sync for FramebufferTag<'a>
impl<'a> Unpin for FramebufferTag<'a>
impl<'a> UnwindSafe for FramebufferTag<'a>
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