pub enum ErrorBarData {
Symmetric(Vec<f64>),
Asymmetric {
low: Vec<f64>,
high: Vec<f64>,
},
}Expand description
The error data for one axis of an error bar plot.
Symmetric errors apply the same magnitude on both sides of the data point. Asymmetric errors allow separate low and high magnitudes.
Variants§
Symmetric(Vec<f64>)
Equal error on both sides: y - e to y + e.
Asymmetric
Separate low and high errors: y - low[i] to y + high[i].
Trait Implementations§
Source§impl Clone for ErrorBarData
impl Clone for ErrorBarData
Source§fn clone(&self) -> ErrorBarData
fn clone(&self) -> ErrorBarData
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ErrorBarData
impl RefUnwindSafe for ErrorBarData
impl Send for ErrorBarData
impl Sync for ErrorBarData
impl Unpin for ErrorBarData
impl UnsafeUnpin for ErrorBarData
impl UnwindSafe for ErrorBarData
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