Struct charming::component::visual_map::VisualMapPiece
source · pub struct VisualMapPiece { /* private fields */ }
Implementations§
source§impl VisualMapPiece
impl VisualMapPiece
pub fn new() -> Self
pub fn min<F: Into<f64>>(self, min: F) -> Self
pub fn max<F: Into<f64>>(self, max: F) -> Self
pub fn lt<F: Into<f64>>(self, lt: F) -> Self
pub fn lte<F: Into<f64>>(self, lte: F) -> Self
pub fn gt<F: Into<f64>>(self, gt: F) -> Self
pub fn gte<F: Into<f64>>(self, gte: F) -> Self
pub fn label<S: Into<String>>(self, label: S) -> Self
pub fn color<C: Into<Color>>(self, color: C) -> Self
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for VisualMapPiece
impl Send for VisualMapPiece
impl Sync for VisualMapPiece
impl Unpin for VisualMapPiece
impl UnwindSafe for VisualMapPiece
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