#[repr(C)]pub struct Framebuffer {
pub data: *mut c_void,
pub width: c_uint,
pub height: c_uint,
pub pitch: size_t,
pub format: c_uint,
pub access_flags: c_uint,
pub memory_flags: c_uint,
}
Fields§
§data: *mut c_void
§width: c_uint
§height: c_uint
§pitch: size_t
§format: c_uint
§access_flags: c_uint
§memory_flags: c_uint
Trait Implementations§
Source§impl Clone for Framebuffer
impl Clone for Framebuffer
Source§fn clone(&self) -> Framebuffer
fn clone(&self) -> Framebuffer
Returns a copy 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 moreAuto Trait Implementations§
impl Freeze for Framebuffer
impl RefUnwindSafe for Framebuffer
impl !Send for Framebuffer
impl !Sync for Framebuffer
impl Unpin 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