pub struct Custom { /* private fields */ }
Implementations§
Source§impl Custom
impl Custom
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<C: Into<ColorBy>>(self, color_by: C) -> Self
pub fn legend_hover_link(self, legend_hover_link: bool) -> Self
pub fn coordinate_system<C: Into<CoordinateSystem>>( self, coordinate_system: C, ) -> Self
pub fn x_axis_index<C: Into<CompositeValue>>(self, x_axis_index: C) -> Self
pub fn y_axis_index<C: Into<CompositeValue>>(self, y_axis_index: C) -> Self
pub fn polar_index<C: Into<CompositeValue>>(self, polar_index: C) -> Self
pub fn geo_index<C: Into<CompositeValue>>(self, geo_index: C) -> Self
pub fn calendar_index<C: Into<CompositeValue>>(self, calendar_index: C) -> Self
pub fn render_item<R: Into<RawString>>(self, render_item: R) -> Self
pub fn item_style<I: Into<ItemStyle>>(self, item_style: I) -> Self
pub fn label_line<L: Into<LabelLine>>(self, label_line: L) -> Self
pub fn label_layout<L: Into<LabelLayout>>(self, label_layout: L) -> Self
pub fn selected_mode(self, selected_mode: bool) -> Self
pub fn dimensions<D: Into<Dimension>>(self, dimensions: Vec<D>) -> Self
pub fn encode<E: Into<DimensionEncode>>(self, encode: E) -> Self
pub fn data<D: Into<DataPoint>>(self, data: Vec<D>) -> Self
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Custom
impl RefUnwindSafe for Custom
impl Send for Custom
impl Sync for Custom
impl Unpin for Custom
impl UnwindSafe for Custom
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