#[repr(u32)]pub enum ColorMap {
DEFAULT = 0,
SPECTRUM = 1,
COLORS = 2,
RED = 3,
MOOD = 4,
HEAT = 5,
BLUE = 6,
}Expand description
Dictates what color map is used for Image rendering
Variants§
DEFAULT = 0
Default color map is grayscale range [0-1]
SPECTRUM = 1
Visible spectrum color map
COLORS = 2
Colors
RED = 3
Red hue map
MOOD = 4
Mood color map
HEAT = 5
Heat color map
BLUE = 6
Blue hue map
Trait Implementations§
impl Copy for ColorMap
impl StructuralPartialEq for ColorMap
Auto Trait Implementations§
impl Freeze for ColorMap
impl RefUnwindSafe for ColorMap
impl Send for ColorMap
impl Sync for ColorMap
impl Unpin for ColorMap
impl UnwindSafe for ColorMap
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