Struct plotters::prelude::ErrorBar[][src]

pub struct ErrorBar<K, V, O: ErrorBarOrient<K, V>> { /* fields omitted */ }

Implementations

impl<K, V> ErrorBar<K, V, ErrorBarOrientV<K, V>>[src]

pub fn new_vertical<S: Into<ShapeStyle>>(
    key: K,
    min: V,
    avg: V,
    max: V,
    style: S,
    width: u32
) -> Self
[src]

impl<K, V> ErrorBar<K, V, ErrorBarOrientH<K, V>>[src]

pub fn new_horizontal<S: Into<ShapeStyle>>(
    key: K,
    min: V,
    avg: V,
    max: V,
    style: S,
    width: u32
) -> Self
[src]

Trait Implementations

impl<K, V, O: ErrorBarOrient<K, V>, DB: DrawingBackend> Drawable<DB, BackendCoordOnly> for ErrorBar<K, V, O>[src]

fn draw<I: Iterator<Item = BackendCoord>>(
    &self,
    points: I,
    backend: &mut DB,
    _: (u32, u32)
) -> Result<(), DrawingErrorKind<DB::ErrorType>>
[src]

Actually draws the element. The key points is already translated into the image coordinate and can be used by DC directly Read more

impl<'a, K: Clone, V: Clone, O: ErrorBarOrient<K, V>> PointCollection<'a, (<O as ErrorBarOrient<K, V>>::XType, <O as ErrorBarOrient<K, V>>::YType), BackendCoordOnly> for &'a ErrorBar<K, V, O>[src]

type Point = (O::XType, O::YType)

The item in point iterator

type IntoIter = Vec<Self::Point>

The point iterator

fn point_iter(self) -> Self::IntoIter[src]

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

impl<T> Any for T where
    T: 'static + ?Sized
[src]

pub fn type_id(&self) -> TypeId[src]

Gets the TypeId of self. Read more

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

pub fn borrow(&self) -> &T[src]

Immutably borrows from an owned value. Read more

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

pub fn borrow_mut(&mut self) -> &mut T[src]

Mutably borrows from an owned value. Read more

impl<T> From<T> for T[src]

pub fn from(t: T) -> T[src]

Performs the conversion.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

pub fn into(self) -> U[src]

Performs the conversion.

impl<T> SetParameter for T

fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Result where
    T: Parameter<Self>, 

Sets value as a parameter of self.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

Performs the conversion.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

Performs the conversion.