#[repr(C, packed(4))]pub struct IMAGE {
pub _bitfield_align_1: [u8; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4]>,
pub dim: PIXPOINT,
pub pitch: UINT32,
pub palette: *mut RGBA,
pub len: UINT32,
pub image: PCHAR,
pub pdx: PVOID,
}Fields§
§_bitfield_align_1: [u8; 0]§_bitfield_1: __BindgenBitfieldUnit<[u8; 4]>§dim: PIXPOINT§pitch: UINT32§palette: *mut RGBA§len: UINT32§image: PCHAR§pdx: PVOIDImplementations§
Source§impl IMAGE
impl IMAGE
pub fn format(&self) -> IMG_FORMAT
pub fn set_format(&mut self, val: IMG_FORMAT)
pub unsafe fn format_raw(this: *const Self) -> IMG_FORMAT
pub unsafe fn set_format_raw(this: *mut Self, val: IMG_FORMAT)
pub fn flags(&self) -> UINT32
pub fn set_flags(&mut self, val: UINT32)
pub unsafe fn flags_raw(this: *const Self) -> UINT32
pub unsafe fn set_flags_raw(this: *mut Self, val: UINT32)
pub fn new_bitfield_1( format: IMG_FORMAT, flags: UINT32, ) -> __BindgenBitfieldUnit<[u8; 4]>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for IMAGE
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