pub struct Scatter { /* private fields */ }
Implementations§
Source§impl Scatter
impl Scatter
pub fn new() -> Self
pub fn id<S: Into<String>>(self, id: S) -> Self
pub fn name<S: Into<String>>(self, name: S) -> Self
pub fn color_by(self, color_by: ColorBy) -> Self
pub fn dataset_index<F: Into<i64>>(self, dataset_index: F) -> Self
pub fn coordinate_system<C: Into<CoordinateSystem>>( self, coordinate_system: C, ) -> Self
pub fn x_axis_index<F: Into<i64>>(self, x_axis_index: F) -> Self
pub fn y_axis_index<F: Into<i64>>(self, y_axis_index: F) -> Self
pub fn symbol(self, symbol: Symbol) -> Self
pub fn symbol_size<S: Into<SymbolSize>>(self, symbol_size: S) -> Self
pub fn encode<D: Into<DimensionEncode>>(self, encode: D) -> Self
pub fn mark_line<M: Into<MarkLine>>(self, mark_line: M) -> Self
pub fn mark_area<M: Into<MarkArea>>(self, mark_area: M) -> Self
pub fn item_style<I: Into<ItemStyle>>(self, item_style: I) -> Self
pub fn emphasis<E: Into<Emphasis>>(self, emphasis: E) -> Self
pub fn data<D: Into<DataPoint>>(self, data: Vec<D>) -> Self
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Scatter
impl RefUnwindSafe for Scatter
impl Send for Scatter
impl Sync for Scatter
impl Unpin for Scatter
impl UnwindSafe for Scatter
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