pub struct VisualMapPiece { /* private fields */ }
Implementations§
Source§impl VisualMapPiece
impl VisualMapPiece
pub fn new() -> Self
pub fn min<F: Into<i64>>(self, min: F) -> Self
pub fn max<F: Into<i64>>(self, max: F) -> Self
pub fn lt<F: Into<i64>>(self, lt: F) -> Self
pub fn lte<F: Into<i64>>(self, lte: F) -> Self
pub fn gt<F: Into<i64>>(self, gt: F) -> Self
pub fn gte<F: Into<i64>>(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 Freeze for VisualMapPiece
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more