#[repr(C)]pub struct GLFWimage {
pub width: c_int,
pub height: c_int,
pub pixels: *const c_uchar,
}
Expand description
Pixels are 4-bytes each, RGBA
Fields§
§width: c_int
§height: c_int
§pixels: *const c_uchar
Trait Implementations§
Auto Trait Implementations§
impl Freeze for GLFWimage
impl RefUnwindSafe for GLFWimage
impl !Send for GLFWimage
impl !Sync for GLFWimage
impl Unpin for GLFWimage
impl UnwindSafe for GLFWimage
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