#[repr(C)]pub struct plum_image {
pub type_: u16,
pub max_palette_index: u8,
pub color_format: u8,
pub frames: u32,
pub height: u32,
pub width: u32,
pub allocator: *mut c_void,
pub metadata: *mut plum_metadata,
pub palette: *mut c_void,
pub data: *mut c_void,
pub userdata: *mut c_void,
}Fields§
§type_: u16§max_palette_index: u8§color_format: u8§frames: u32§height: u32§width: u32§allocator: *mut c_void§metadata: *mut plum_metadata§palette: *mut c_void§data: *mut c_void§userdata: *mut c_voidTrait Implementations§
Auto Trait Implementations§
impl Freeze for plum_image
impl RefUnwindSafe for plum_image
impl !Send for plum_image
impl !Sync for plum_image
impl Unpin for plum_image
impl UnwindSafe for plum_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