#[repr(C)]pub struct EYEPIXELFORMAT {
pub colorkey: byte,
pub Rmask: INT32,
pub Gmask: INT32,
pub Bmask: INT32,
pub Amask: INT32,
pub palette: *mut EYEPALETTE,
}Expand description
@ingroup display \brief Represents pixel format of an image or surface.
Fields§
§colorkey: byte§Rmask: INT32§Gmask: INT32§Bmask: INT32§Amask: INT32§palette: *mut EYEPALETTETrait Implementations§
Source§impl Clone for EYEPIXELFORMAT
impl Clone for EYEPIXELFORMAT
Source§fn clone(&self) -> EYEPIXELFORMAT
fn clone(&self) -> EYEPIXELFORMAT
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for EYEPIXELFORMAT
impl Debug for EYEPIXELFORMAT
Source§impl Default for EYEPIXELFORMAT
impl Default for EYEPIXELFORMAT
impl Copy for EYEPIXELFORMAT
Auto Trait Implementations§
impl Freeze for EYEPIXELFORMAT
impl RefUnwindSafe for EYEPIXELFORMAT
impl !Send for EYEPIXELFORMAT
impl !Sync for EYEPIXELFORMAT
impl Unpin for EYEPIXELFORMAT
impl UnwindSafe for EYEPIXELFORMAT
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