Home
last modified time | relevance | path

Searched defs:FontError (Results 1 – 8 of 8) sorted by relevance

/aosp_15_r20/external/rust/android-crates-io/crates/plotters/src/style/font/
Dnaive.rs4 pub struct FontError; struct
6 impl std::fmt::Display for FontError { implementation
13 impl std::error::Error for FontError {} implementation
20 fn new(family: FontFamily, style: FontStyle) -> Result<Self, FontError> { in new() argument
Dweb.rs6 pub enum FontError { enum
10 impl std::fmt::Display for FontError { implementation
18 impl std::error::Error for FontError {} implementation
25 fn new(family: FontFamily, style: FontStyle) -> Result<Self, FontError> { in new() argument
Dttf.rs30 pub enum FontError { enum
37 impl std::fmt::Display for FontError { implementation
50 impl std::error::Error for FontError {} implementation
202 fn new(family: FontFamily, style: FontStyle) -> Result<Self, FontError> { in new() argument
Dab_glyph.rs72 pub enum FontError { enum
78 impl Display for FontError { implementation
85 impl Error for FontError {} implementation
Dfont_desc.rs10 pub type FontError = <FontDataInternal as FontData>::ErrorType; typedef
/aosp_15_r20/external/rust/android-crates-io/crates/plotters-backend/src/
Dtext.rs209 type FontError: Error + Sync + Send + 'static; typedef
237 fn layout_box(&self, text: &str) -> Result<((i32, i32), (i32, i32)), Self::FontError>; in layout_box()
244 ) -> Result<Result<(), E>, Self::FontError>; in draw()
Dlib.rs85 FontError(Box<dyn Error + Send + Sync + 'static>), enumerator
/aosp_15_r20/external/rust/android-crates-io/crates/plotters/src/style/
Dtext.rs285 type FontError = FontError; typedef
303 fn layout_box(&self, text: &str) -> Result<((i32, i32), (i32, i32)), Self::FontError> { in layout_box()
320 ) -> Result<Result<(), E>, Self::FontError> { in draw()