#[repr(i32)]pub enum ContrastMode {
None = 0,
Legacy = 1,
Cielab = 2,
Custom = 3,
}
Expand description
Contrast modes supported by FLTK
Variants§
None = 0
always return foreground color
Legacy = 1
legacy (FLTK 1.3.x) contrast function
Cielab = 2
new (FLTK 1.4.0) default function
Custom = 3
optional custom contrast function
Trait Implementations§
Source§impl Clone for ContrastMode
impl Clone for ContrastMode
Source§fn clone(&self) -> ContrastMode
fn clone(&self) -> ContrastMode
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 ContrastMode
impl Debug for ContrastMode
Source§impl PartialEq for ContrastMode
impl PartialEq for ContrastMode
impl Copy for ContrastMode
impl Eq for ContrastMode
impl StructuralPartialEq for ContrastMode
Auto Trait Implementations§
impl Freeze for ContrastMode
impl RefUnwindSafe for ContrastMode
impl Send for ContrastMode
impl Sync for ContrastMode
impl Unpin for ContrastMode
impl UnwindSafe for ContrastMode
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