#[repr(C)]pub struct EYEPALETTE {
pub ncolors: c_int,
pub colors: *mut EYECOLOR,
}Expand description
@ingroup display \brief Represents a palette index.
Fields§
§ncolors: c_int< Number of colors in the palette
colors: *mut EYECOLOR< Actual colors
Trait Implementations§
Source§impl Clone for EYEPALETTE
impl Clone for EYEPALETTE
Source§fn clone(&self) -> EYEPALETTE
fn clone(&self) -> EYEPALETTE
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 EYEPALETTE
impl Debug for EYEPALETTE
Source§impl Default for EYEPALETTE
impl Default for EYEPALETTE
impl Copy for EYEPALETTE
Auto Trait Implementations§
impl Freeze for EYEPALETTE
impl RefUnwindSafe for EYEPALETTE
impl !Send for EYEPALETTE
impl !Sync for EYEPALETTE
impl Unpin for EYEPALETTE
impl UnwindSafe for EYEPALETTE
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