Struct rust_raylib::ffi::Image
source · #[repr(C)]pub struct Image {
pub data: *mut c_void,
pub width: c_int,
pub height: c_int,
pub mipmaps: c_int,
pub format: c_int,
}Expand description
Image, pixel data stored in CPU memory (RAM)
Fields§
§data: *mut c_voidImage raw data
width: c_intImage base width
height: c_intImage base height
mipmaps: c_intMipmap levels, 1 by default
format: c_intData format (PixelFormat type)
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Image
impl !Send for Image
impl !Sync for Image
impl Unpin for Image
impl UnwindSafe for Image
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