Searched defs:FontError (Results 1 – 8 of 8) sorted by relevance
/aosp_15_r20/external/rust/android-crates-io/crates/plotters/src/style/font/ |
D | naive.rs | 4 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
|
D | web.rs | 6 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
|
D | ttf.rs | 30 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
|
D | ab_glyph.rs | 72 pub enum FontError { enum 78 impl Display for FontError { implementation 85 impl Error for FontError {} implementation
|
D | font_desc.rs | 10 pub type FontError = <FontDataInternal as FontData>::ErrorType; typedef
|
/aosp_15_r20/external/rust/android-crates-io/crates/plotters-backend/src/ |
D | text.rs | 209 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()
|
D | lib.rs | 85 FontError(Box<dyn Error + Send + Sync + 'static>), enumerator
|
/aosp_15_r20/external/rust/android-crates-io/crates/plotters/src/style/ |
D | text.rs | 285 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()
|