pub struct Funnel { /* private fields */ }
Implementations§
Source§impl Funnel
impl Funnel
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 min<F: Into<i64>>(self, min: F) -> Self
pub fn max<F: Into<i64>>(self, max: F) -> Self
pub fn min_size<S: Into<String>>(self, min_size: S) -> Self
pub fn max_size<S: Into<String>>(self, max_size: S) -> Self
pub fn width<C: Into<CompositeValue>>(self, width: C) -> Self
pub fn height<C: Into<CompositeValue>>(self, height: C) -> 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 orient<O: Into<Orient>>(self, orient: O) -> Self
pub fn sort<S: Into<Sort>>(self, sort: S) -> Self
pub fn gap<F: Into<i64>>(self, gap: F) -> Self
pub fn legend_hover_link(self, legend_hover_link: bool) -> Self
pub fn funnel_align<A: Into<Align>>(self, funnel_align: A) -> Self
pub fn label<L: Into<Label>>(self, label: L) -> Self
pub fn label_line<L: Into<LabelLine>>(self, label_line: L) -> 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 Funnel
impl RefUnwindSafe for Funnel
impl Send for Funnel
impl Sync for Funnel
impl Unpin for Funnel
impl UnwindSafe for Funnel
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