#[repr(C)]pub struct EYEBITMAP {
pub w: INT32,
pub h: INT32,
pub pitch: INT32,
pub depth: INT32,
pub pixels: *mut c_void,
pub format: *mut EYEPIXELFORMAT,
}Expand description
@ingroup display \brief Represents a bitmap image
Fields§
§w: INT32< width of the image
h: INT32< height of the image
pitch: INT32< pitch of image lines. This can be 0. if this is 0, then ((depth+7)/8)*width is used
depth: INT32< Depth of the image. possible values are 8,15,16,24,32
pixels: *mut c_void< uncompressed pixel data
format: *mut EYEPIXELFORMAT< pixel format of the image.
Trait Implementations§
impl Copy for EYEBITMAP
Auto Trait Implementations§
impl Freeze for EYEBITMAP
impl RefUnwindSafe for EYEBITMAP
impl !Send for EYEBITMAP
impl !Sync for EYEBITMAP
impl Unpin for EYEBITMAP
impl UnwindSafe for EYEBITMAP
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