plotters::style

Type Alias FontResult

Source
pub type FontResult<T> = Result<T, FontError>;
Expand description

The type we used to represent a result of any font operations

Aliased Type§

enum FontResult<T> {
    Ok(T),
    Err(FontError),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(FontError)

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.