pub type DrawResult<T, D: DrawingBackend> = Result<T, DrawingAreaErrorKind<D::ErrorType>>;
Expand description
The type used to returns a drawing operation that can be failed
T
: The return typeD
: The drawing backend type
Aliased Type§
enum DrawResult<T, D: DrawingBackend> {
Ok(T),
Err(DrawingAreaErrorKind<<D as DrawingBackend>::ErrorType>),
}
Variants§
Ok(T)
Contains the success value
Err(DrawingAreaErrorKind<<D as DrawingBackend>::ErrorType>)
Contains the error value
Layout§
Note: Unable to compute type layout, possibly due to this type having generic parameters. Layout can only be computed for concrete, fully-instantiated types.