#[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: PVOID
Implementations§
source§impl IMAGE
impl IMAGE
pub fn format(&self) -> IMG_FORMAT
pub fn set_format(&mut self, val: IMG_FORMAT)
pub fn flags(&self) -> UINT32
pub fn set_flags(&mut self, val: UINT32)
pub fn new_bitfield_1( format: IMG_FORMAT, flags: UINT32 ) -> __BindgenBitfieldUnit<[u8; 4]>
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