#[repr(C)]pub struct PALETTEENTRY {
pub peRed: u8,
pub peGreen: u8,
pub peBlue: u8,
pub peFlags: u8,
}Fields§
§peRed: u8§peGreen: u8§peBlue: u8§peFlags: u8Trait Implementations§
Source§impl Abi for PALETTEENTRY
impl Abi for PALETTEENTRY
Source§type Abi = PALETTEENTRY
type Abi = PALETTEENTRY
The abi representation of the implementing type. Read more
type DefaultType = PALETTEENTRY
Source§fn ok(value: &Self::DefaultType) -> Result<Self, Error>
fn ok(value: &Self::DefaultType) -> Result<Self, Error>
Converts from
Self::DefaultType to Result<T>.Source§fn set_abi(&mut self) -> *mut Self::Abi
fn set_abi(&mut self) -> *mut Self::Abi
Returns a pointer for setting the object’s value via an ABI call.
fn drop_param(_: &mut Param<'_, Self>)
Source§impl Clone for PALETTEENTRY
impl Clone for PALETTEENTRY
Source§fn clone(&self) -> PALETTEENTRY
fn clone(&self) -> PALETTEENTRY
Returns a copy 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 PALETTEENTRY
impl Debug for PALETTEENTRY
Source§impl Default for PALETTEENTRY
impl Default for PALETTEENTRY
Source§impl PartialEq for PALETTEENTRY
impl PartialEq for PALETTEENTRY
impl Copy for PALETTEENTRY
impl Eq for PALETTEENTRY
Auto Trait Implementations§
impl Freeze for PALETTEENTRY
impl RefUnwindSafe for PALETTEENTRY
impl Send for PALETTEENTRY
impl Sync for PALETTEENTRY
impl Unpin for PALETTEENTRY
impl UnwindSafe for PALETTEENTRY
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