pub type DrawResult<T, D>
where D: DrawingBackend,
= Result<T, DrawingAreaErrorKind<<D as DrawingBackend>::ErrorType>>;
Expand description

The type used to returns a drawing operation that can be failed

  • T: The return type
  • D: The drawing backend type

Aliased Type§

enum DrawResult<T, D>
where D: DrawingBackend,
{ Ok(T), Err(DrawingAreaErrorKind<<D as DrawingBackend>::ErrorType>), }

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(DrawingAreaErrorKind<<D as DrawingBackend>::ErrorType>)

Contains the error value