[][src]Enum plotters::drawing::DrawingAreaErrorKind

pub enum DrawingAreaErrorKind<E: Error + Send + Sync> {
    BackendError(DrawingErrorKind<E>),
    SharingError,
    LayoutError,
}
[]

The error description of any drawing area API

Variants

BackendError(DrawingErrorKind<E>)
[]

The error is due to drawing backend failure

SharingError
[]

We are not able to get the mutable reference of the backend, which indicates the drawing backend is current used by other drawing operation

LayoutError
[]

The error caused by invalid layout

Trait Implementations

impl<E: Debug + Error + Send + Sync> Debug for DrawingAreaErrorKind<E>[src][+]

impl<E: Error + Send + Sync> Display for DrawingAreaErrorKind<E>[src][+]

impl<E: Error + Send + Sync> Error for DrawingAreaErrorKind<E>[src][+]

Auto Trait Implementations

impl<E> Send for DrawingAreaErrorKind<E>

impl<E> Unpin for DrawingAreaErrorKind<E> where
    E: Unpin

impl<E> Sync for DrawingAreaErrorKind<E>

impl<E> UnwindSafe for DrawingAreaErrorKind<E> where
    E: UnwindSafe

impl<E> RefUnwindSafe for DrawingAreaErrorKind<E> where
    E: RefUnwindSafe

Blanket Implementations

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

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

impl<T> ToString for T where
    T: Display + ?Sized
[src][+]

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.

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.

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

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

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

impl<T> SetParameter for T[+]

impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S where
    D: AdaptFrom<S, Swp, Dwp, T>,
    Dwp: WhitePoint,
    Swp: WhitePoint,
    T: Component + Float
[src][+]

impl<T, U> ConvertInto<U> for T where
    U: ConvertFrom<T>, 
[src][+]