#[repr(C)]pub struct FramebufferInfo {
pub address: u64,
pub pitch: u32,
pub width: u32,
pub height: u32,
pub bpp: u8,
pub fb_type: u8,
/* private fields */
}
Expand description
Information about the framebuffer.
Fields§
§address: u64
A pointer to the framebuffer.
pitch: u32
The pitch of the framebuffer (i.e. the number of bytes in each row).
width: u32
The width of the framebuffer.
height: u32
The height of the framebuffer.
bpp: u8
Bits per pixel.
fb_type: u8
The type of the framebuffer. 0=indexed, 1=RGB, 2=text.
Trait Implementations§
Source§impl Clone for FramebufferInfo
impl Clone for FramebufferInfo
Source§fn clone(&self) -> FramebufferInfo
fn clone(&self) -> FramebufferInfo
Returns a copy of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for FramebufferInfo
impl RefUnwindSafe for FramebufferInfo
impl Send for FramebufferInfo
impl Sync for FramebufferInfo
impl Unpin for FramebufferInfo
impl UnwindSafe for FramebufferInfo
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dst: *mut u8)
unsafe fn clone_to_uninit(&self, dst: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)