pub enum Colormap {
Grayscale,
Viridis,
Terrain,
Jet,
Hot,
Cool,
Spectral,
Ndvi,
}Expand description
Colormap types for raster visualization
Variants§
Grayscale
Grayscale (black to white)
Viridis
Viridis (perceptually uniform, blue to yellow)
Terrain
Terrain (green/brown, for elevation)
Jet
Jet (rainbow, blue to red)
Hot
Hot (black to red to yellow to white)
Cool
Cool (cyan to magenta)
Spectral
Spectral (diverging, red-yellow-blue)
Ndvi
NDVI (brown to green, for vegetation)
Implementations§
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 UnsafeUnpin 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