pub struct Framebuffer { /* private fields */ }Expand description
The framebuffer structure, which provides basic 5 elements:
- Framebuffer base address;
- Framebuffer height;
- Framebuffer width;
- Framebuffer BPB
- Framebuffer pitch
You can use it to do output/graphics operations.
Implementations§
Source§impl Framebuffer
impl Framebuffer
Trait Implementations§
Source§impl Clone for Framebuffer
impl Clone for Framebuffer
Source§fn clone(&self) -> Framebuffer
fn clone(&self) -> Framebuffer
Returns a duplicate 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 Framebuffer
impl Debug for Framebuffer
Source§impl PartialEq for Framebuffer
impl PartialEq for Framebuffer
impl Copy for Framebuffer
impl Eq for Framebuffer
impl StructuralPartialEq for Framebuffer
Auto Trait Implementations§
impl Freeze for Framebuffer
impl RefUnwindSafe for Framebuffer
impl Send for Framebuffer
impl Sync for Framebuffer
impl Unpin for Framebuffer
impl UnsafeUnpin for Framebuffer
impl UnwindSafe for Framebuffer
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