pub struct VisualMap { /* private fields */ }
Implementations§
Source§impl VisualMap
impl VisualMap
pub fn new() -> Self
pub fn type_<S: Into<VisualMapType>>(self, type_: S) -> Self
pub fn color<C: Into<Color>>(self, color: Vec<C>) -> Self
pub fn show(self, show: bool) -> Self
pub fn dimension<C: Into<CompositeValue>>(self, dimension: C) -> Self
pub fn series_index<F: Into<i64>>(self, series_index: F) -> Self
pub fn min<F: Into<i64>>(self, min: F) -> Self
pub fn max<F: Into<i64>>(self, max: F) -> Self
pub fn categories<S: Into<String>>(self, categories: Vec<S>) -> Self
pub fn calculable(self, calculable: bool) -> Self
pub fn orient(self, orient: Orient) -> Self
pub fn left<C: Into<CompositeValue>>(self, left: C) -> Self
pub fn top<C: Into<CompositeValue>>(self, top: C) -> Self
pub fn right<C: Into<CompositeValue>>(self, right: C) -> Self
pub fn bottom<C: Into<CompositeValue>>(self, bottom: C) -> Self
pub fn text_style<T: Into<TextStyle>>(self, text_style: T) -> Self
pub fn range<F: Into<i64>>(self, range: (F, F)) -> Self
pub fn realtime(self, realtime: bool) -> Self
pub fn inverse(self, inverse: bool) -> Self
pub fn precision<F: Into<i64>>(self, precision: F) -> Self
pub fn item_width<F: Into<i64>>(self, item_width: F) -> Self
pub fn item_height<F: Into<i64>>(self, item_height: F) -> Self
pub fn in_range<V: Into<VisualMapChannel>>(self, in_range: V) -> Self
pub fn out_range<V: Into<VisualMapChannel>>(self, out_range: V) -> Self
pub fn pieces(self, pieces: Vec<VisualMapPiece>) -> Self
Trait Implementations§
Auto Trait Implementations§
impl Freeze for VisualMap
impl RefUnwindSafe for VisualMap
impl Send for VisualMap
impl Sync for VisualMap
impl Unpin for VisualMap
impl UnwindSafe for VisualMap
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