pub struct VisualPiece {
pub min: f64,
pub max: f64,
pub color: Color,
}Expand description
One band of a piecewise visual map.
Fields§
§min: f64The lowest value of the band.
max: f64The highest value of the band.
color: ColorThe colour of the band.
Trait Implementations§
Source§impl Clone for VisualPiece
impl Clone for VisualPiece
Source§impl Debug for VisualPiece
impl Debug for VisualPiece
Source§impl PartialEq for VisualPiece
impl PartialEq for VisualPiece
impl StructuralPartialEq for VisualPiece
Auto Trait Implementations§
impl Freeze for VisualPiece
impl RefUnwindSafe for VisualPiece
impl Send for VisualPiece
impl Sync for VisualPiece
impl Unpin for VisualPiece
impl UnsafeUnpin for VisualPiece
impl UnwindSafe for VisualPiece
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