pub struct ThemeRiver { /* private fields */ }
Implementations§
Source§impl ThemeRiver
impl ThemeRiver
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 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 width<C: Into<CompositeValue>>(self, width: C) -> Self
pub fn height<C: Into<CompositeValue>>(self, height: C) -> Self
pub fn coordinate_system<C: Into<CoordinateSystem>>( self, coordinate_system: C, ) -> Self
pub fn boundary_gap<B: Into<BoundaryGap>>(self, boundary_gap: B) -> Self
pub fn label<L: Into<Label>>(self, label: L) -> Self
pub fn data<T: Into<ThemeRiverData>>(self, data: Vec<T>) -> Self
Trait Implementations§
Source§impl From<ThemeRiver> for Series
impl From<ThemeRiver> for Series
Source§fn from(series: ThemeRiver) -> Self
fn from(series: ThemeRiver) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ThemeRiver
impl RefUnwindSafe for ThemeRiver
impl Send for ThemeRiver
impl Sync for ThemeRiver
impl Unpin for ThemeRiver
impl UnwindSafe for ThemeRiver
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