Enum ms_oforms::properties::color::OleColor
source · #[repr(u8)]pub enum OleColor {
Default(RgbColor),
PaletteEntry(PaletteIndex),
RgbColor(RgbColor),
SystemPalette(SystemPaletteIndex),
}
Variants§
Implementations§
source§impl OleColor
impl OleColor
pub const _3DDKSHADOW: Self = _
pub const _3DFACE: Self = _
pub const _3DHIGHLIGHT: Self = _
pub const BTNFACE: Self = _
pub const BTNTEXT: Self = _
pub const WINDOWTEXT: Self = _
pub const WINDOW: Self = _
pub const WINDOWFRAME: Self = _
Trait Implementations§
source§impl PartialEq<OleColor> for OleColor
impl PartialEq<OleColor> for OleColor
impl Copy for OleColor
impl Eq for OleColor
impl StructuralEq for OleColor
impl StructuralPartialEq for OleColor
Auto Trait Implementations§
impl RefUnwindSafe for OleColor
impl Send for OleColor
impl Sync for OleColor
impl Unpin for OleColor
impl UnwindSafe for OleColor
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