Type Alias audio_processor_testing_helpers::charts::DrawResult
source · 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 typeD
: The drawing backend type
Aliased Type§
enum DrawResult<T, D>where
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