Home
last modified time | relevance | path

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

/external/rust/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.rs20 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
Dfont_desc.rs10 pub type FontError = <FontDataInternal as FontData>::ErrorType; typedef
/external/rust/crates/plotters-backend/src/
Dtext.rs209 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()
Dlib.rs85 FontError(Box<dyn Error + Send + Sync + 'static>), enumerator
/external/rust/crates/plotters/src/style/
Dtext.rs141 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()