Struct audio_processor_testing_helpers::charts::ErrorBar
source · [−]pub struct ErrorBar<K, V, O> where
O: ErrorBarOrient<K, V>, { /* private fields */ }
Implementations
sourceimpl<K, V> ErrorBar<K, V, ErrorBarOrientV<K, V>>
impl<K, V> ErrorBar<K, V, ErrorBarOrientV<K, V>>
pub fn new_vertical<S>(
key: K,
min: V,
avg: V,
max: V,
style: S,
width: u32
) -> ErrorBar<K, V, ErrorBarOrientV<K, V>> where
S: Into<ShapeStyle>,
sourceimpl<K, V> ErrorBar<K, V, ErrorBarOrientH<K, V>>
impl<K, V> ErrorBar<K, V, ErrorBarOrientH<K, V>>
pub fn new_horizontal<S>(
key: K,
min: V,
avg: V,
max: V,
style: S,
width: u32
) -> ErrorBar<K, V, ErrorBarOrientH<K, V>> where
S: Into<ShapeStyle>,
Trait Implementations
sourceimpl<K, V, O, DB> Drawable<DB, BackendCoordOnly> for ErrorBar<K, V, O> where
O: ErrorBarOrient<K, V>,
DB: DrawingBackend,
impl<K, V, O, DB> Drawable<DB, BackendCoordOnly> for ErrorBar<K, V, O> where
O: ErrorBarOrient<K, V>,
DB: DrawingBackend,
sourcefn draw<I>(
&self,
points: I,
backend: &mut DB,
(u32, u32)
) -> Result<(), DrawingErrorKind<<DB as DrawingBackend>::ErrorType>> where
I: Iterator<Item = (i32, i32)>,
fn draw<I>(
&self,
points: I,
backend: &mut DB,
(u32, u32)
) -> Result<(), DrawingErrorKind<<DB as DrawingBackend>::ErrorType>> where
I: Iterator<Item = (i32, i32)>,
Actually draws the element. The key points is already translated into the image coordinate and can be used by DC directly Read more
sourceimpl<'a, K, V, O> PointCollection<'a, (<O as ErrorBarOrient<K, V>>::XType, <O as ErrorBarOrient<K, V>>::YType), BackendCoordOnly> for &'a ErrorBar<K, V, O> where
K: Clone,
V: Clone,
O: ErrorBarOrient<K, V>,
impl<'a, K, V, O> PointCollection<'a, (<O as ErrorBarOrient<K, V>>::XType, <O as ErrorBarOrient<K, V>>::YType), BackendCoordOnly> for &'a ErrorBar<K, V, O> where
K: Clone,
V: Clone,
O: ErrorBarOrient<K, V>,
type Point = (<O as ErrorBarOrient<K, V>>::XType, <O as ErrorBarOrient<K, V>>::YType)
type Point = (<O as ErrorBarOrient<K, V>>::XType, <O as ErrorBarOrient<K, V>>::YType)
The item in point iterator
type IntoIter = Vec<<&'a ErrorBar<K, V, O> as PointCollection<'a, (<O as ErrorBarOrient<K, V>>::XType, <O as ErrorBarOrient<K, V>>::YType), BackendCoordOnly>>::Point, Global>
type IntoIter = Vec<<&'a ErrorBar<K, V, O> as PointCollection<'a, (<O as ErrorBarOrient<K, V>>::XType, <O as ErrorBarOrient<K, V>>::YType), BackendCoordOnly>>::Point, Global>
The point iterator
sourcefn point_iter(
self
) -> <&'a ErrorBar<K, V, O> as PointCollection<'a, (<O as ErrorBarOrient<K, V>>::XType, <O as ErrorBarOrient<K, V>>::YType), BackendCoordOnly>>::IntoIter
fn point_iter(
self
) -> <&'a ErrorBar<K, V, O> as PointCollection<'a, (<O as ErrorBarOrient<K, V>>::XType, <O as ErrorBarOrient<K, V>>::YType), BackendCoordOnly>>::IntoIter
framework to do the coordinate mapping
Auto Trait Implementations
impl<K, V, O> RefUnwindSafe for ErrorBar<K, V, O> where
K: RefUnwindSafe,
O: RefUnwindSafe,
V: RefUnwindSafe,
impl<K, V, O> Send for ErrorBar<K, V, O> where
K: Send,
O: Send,
V: Send,
impl<K, V, O> Sync for ErrorBar<K, V, O> where
K: Sync,
O: Sync,
V: Sync,
impl<K, V, O> Unpin for ErrorBar<K, V, O> where
K: Unpin,
O: Unpin,
V: Unpin,
impl<K, V, O> UnwindSafe for ErrorBar<K, V, O> where
K: UnwindSafe,
O: UnwindSafe,
V: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<'b, T, DB, Coord> IntoDynElement<'b, DB, Coord> for T where
T: 'b + Drawable<DB, BackendCoordOnly>,
Coord: Clone,
DB: DrawingBackend,
&'a T: for<'a> PointCollection<'a, Coord, BackendCoordOnly>,
impl<'b, T, DB, Coord> IntoDynElement<'b, DB, Coord> for T where
T: 'b + Drawable<DB, BackendCoordOnly>,
Coord: Clone,
DB: DrawingBackend,
&'a T: for<'a> PointCollection<'a, Coord, BackendCoordOnly>,
sourcefn into_dyn(self) -> DynElement<'b, DB, Coord>
fn into_dyn(self) -> DynElement<'b, DB, Coord>
Make the conversion