pub struct BarInput { /* private fields */ }Expand description
Closed owned input for an ordinary vertical or horizontal bar plot.
Implementations§
Source§impl BarInput
impl BarInput
Sourcepub fn samples(values: NumericValues) -> BarSamples
pub fn samples(values: NumericValues) -> BarSamples
Use raw observations, rendering each cell’s arithmetic mean.
The default error bar is a deterministic two-sided 95% percentile bootstrap confidence interval with 1,000 resamples and seed zero.
Sourcepub fn estimates(values: NumericValues) -> BarInput
pub fn estimates(values: NumericValues) -> BarInput
Use one precomputed estimate per category, group, and facet cell.
Sourcepub fn estimates_with_error_bars(
values: NumericValues,
bounds: Bounds,
) -> BarInput
pub fn estimates_with_error_bars( values: NumericValues, bounds: Bounds, ) -> BarInput
Use one precomputed estimate and explicit drawable bounds per cell.
Trait Implementations§
Source§impl From<BarSamples> for BarInput
impl From<BarSamples> for BarInput
Source§fn from(samples: BarSamples) -> BarInput
fn from(samples: BarSamples) -> BarInput
Converts to this type from the input type.
Auto Trait Implementations§
impl Forget for BarInput
impl Freeze for BarInput
impl Move for BarInput
impl RefUnwindSafe for BarInput
impl Send for BarInput
impl Sync for BarInput
impl Unpin for BarInput
impl UnsafeUnpin for BarInput
impl UnwindSafe for BarInput
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
Source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self is actually part of its subset T (and can be converted to it).Source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.