#[repr(C)]pub struct framebuffer_t {
pub w: u32,
pub h: u32,
pub format: pixel_format_t,
pub pixels: *mut u16,
}Fields§
§w: u32§h: u32§format: pixel_format_t§pixels: *mut u16Trait Implementations§
Source§impl Clone for framebuffer_t
impl Clone for framebuffer_t
Source§fn clone(&self) -> framebuffer_t
fn clone(&self) -> framebuffer_t
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for framebuffer_t
Auto Trait Implementations§
impl !Send for framebuffer_t
impl !Sync for framebuffer_t
impl Freeze for framebuffer_t
impl RefUnwindSafe for framebuffer_t
impl Unpin for framebuffer_t
impl UnsafeUnpin for framebuffer_t
impl UnwindSafe for framebuffer_t
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