Searched defs:FontError (Results 1 – 7 of 7) sorted by relevance
/external/rust/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 | 20 pub enum FontError { enum 26 impl std::fmt::Display for FontError { implementation 38 impl std::error::Error for FontError {} implementation 132 fn new(family: FontFamily, style: FontStyle) -> Result<Self, FontError> { in new() argument
|
D | font_desc.rs | 10 pub type FontError = <FontDataInternal as FontData>::ErrorType; typedef
|
/external/rust/crates/plotters-backend/src/ |
D | text.rs | 209 type FontError: Error + Sync + Send + 'static; typedef 236 fn layout_box(&self, text: &str) -> Result<((i32, i32), (i32, i32)), Self::FontError>; in layout_box() 243 ) -> Result<Result<(), E>, Self::FontError>; in draw()
|
D | lib.rs | 85 FontError(Box<dyn Error + Send + Sync + 'static>), enumerator
|
/external/rust/crates/plotters/src/style/ |
D | text.rs | 141 type FontError = FontError; typedef 159 fn layout_box(&self, text: &str) -> Result<((i32, i32), (i32, i32)), Self::FontError> { in layout_box() 176 ) -> Result<Result<(), E>, Self::FontError> { in draw()
|