Struct winsafe::PALETTEENTRY
source · #[repr(C)]pub struct PALETTEENTRY {
pub peRed: u8,
pub peGreen: u8,
pub peBlue: u8,
pub peFlags: PC,
}
Available on crate feature
gdi
only.Expand description
PALETTEENTRY
struct.
Fields§
§peRed: u8
§peGreen: u8
§peBlue: u8
§peFlags: PC
Trait Implementations§
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 Default for PALETTEENTRY
impl Default for PALETTEENTRY
source§fn default() -> PALETTEENTRY
fn default() -> PALETTEENTRY
Returns the “default value” for a type. Read more
source§impl PartialEq for PALETTEENTRY
impl PartialEq for PALETTEENTRY
source§fn eq(&self, other: &PALETTEENTRY) -> bool
fn eq(&self, other: &PALETTEENTRY) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for PALETTEENTRY
impl Eq for PALETTEENTRY
impl StructuralPartialEq 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