pub enum FunnelShape {
Proportional,
Silhouette {
neck_width: f64,
neck_height: f64,
},
Pyramid,
}Expand description
How stage widths and heights encode the values.
Variants§
Proportional
Equal-height stages whose width is proportional to the value; each stage tapers to the next stage’s width (a conversion funnel).
Silhouette
A fixed silhouette — full width at the top narrowing to neck_width
at neck_height above the bottom — cut into stages whose height is
proportional to the value (Highcharts’ funnel).
Pyramid
A triangle with its apex on top, cut into stages whose height is proportional to the value (Highcharts’ pyramid).
Trait Implementations§
Source§impl Clone for FunnelShape
impl Clone for FunnelShape
impl Copy for FunnelShape
Source§impl Debug for FunnelShape
impl Debug for FunnelShape
Source§impl PartialEq for FunnelShape
impl PartialEq for FunnelShape
impl StructuralPartialEq for FunnelShape
Auto Trait Implementations§
impl Freeze for FunnelShape
impl RefUnwindSafe for FunnelShape
impl Send for FunnelShape
impl Sync for FunnelShape
impl Unpin for FunnelShape
impl UnsafeUnpin for FunnelShape
impl UnwindSafe for FunnelShape
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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