pub struct COLOR(/* private fields */);
Available on crate features
kernel
and user
only.Expand description
System
colors
(i32
).
Implementations§
source§impl COLOR
impl COLOR
sourcepub const unsafe fn from_raw(v: i32) -> Self
pub const unsafe fn from_raw(v: i32) -> Self
Constructs a new object by wrapping the given integer value.
§Safety
Be sure the given value is meaningful for the actual type.
sourcepub const fn raw(&self) -> i32
pub const fn raw(&self) -> i32
Returns the primitive integer underlying value.
This method is similar to Into
, but it
is const
, therefore it can be used in
const contexts.
source§impl COLOR
impl COLOR
pub const SCROLLBAR: Self = _
pub const BACKGROUND: Self = _
pub const ACTIVECAPTION: Self = _
pub const INACTIVECAPTION: Self = _
pub const MENU: Self = _
pub const WINDOW: Self = _
pub const WINDOWFRAME: Self = _
pub const MENUTEXT: Self = _
pub const WINDOWTEXT: Self = _
pub const CAPTIONTEXT: Self = _
pub const ACTIVEBORDER: Self = _
pub const INACTIVEBORDER: Self = _
pub const APPWORKSPACE: Self = _
pub const HIGHLIGHT: Self = _
pub const HIGHLIGHTTEXT: Self = _
pub const BTNFACE: Self = _
pub const BTNSHADOW: Self = _
pub const GRAYTEXT: Self = _
pub const BTNTEXT: Self = _
pub const INACTIVECAPTIONTEXT: Self = _
pub const BTNHIGHLIGHT: Self = _
pub const C3DDKSHADOW: Self = _
pub const C3DLIGHT: Self = _
pub const INFOTEXT: Self = _
pub const INFOBK: Self = _
pub const HOTLIGHT: Self = _
pub const GRADIENTACTIVECAPTION: Self = _
pub const GRADIENTINACTIVECAPTION: Self = _
pub const MENUHILIGHT: Self = _
pub const MENUBAR: Self = _
pub const DESKTOP: Self = _
pub const C3DFACE: Self = _
pub const C3DSHADOW: Self = _
pub const C3DHIGHLIGHT: Self = _
pub const C3DHILIGHT: Self = _
pub const BTNHILIGHT: Self = _
Trait Implementations§
source§impl IntUnderlying for COLOR
impl IntUnderlying for COLOR
source§impl Ord for COLOR
impl Ord for COLOR
source§impl PartialEq for COLOR
impl PartialEq for COLOR
source§impl PartialOrd for COLOR
impl PartialOrd for COLOR
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for COLOR
impl Eq for COLOR
impl NativeConst for COLOR
impl Send for COLOR
impl StructuralPartialEq for COLOR
Auto Trait Implementations§
impl Freeze for COLOR
impl RefUnwindSafe for COLOR
impl Sync for COLOR
impl Unpin for COLOR
impl UnwindSafe for COLOR
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