pub trait FontChooserImpl: ObjectImpl {
// Provided methods
fn font_family(&self) -> Option<FontFamily> { ... }
fn font_face(&self) -> Option<FontFace> { ... }
fn font_size(&self) -> i32 { ... }
fn set_filter_func(&self, callback: Option<FilterCallback>) { ... }
fn set_font_map<P: IsA<FontMap>>(&self, font_map: Option<&P>) { ... }
fn font_map(&self) -> Option<FontMap> { ... }
fn font_activated(&self, font_name: &str) { ... }
}
๐Deprecated: Since 4.10
Provided Methodsยง
fn font_family(&self) -> Option<FontFamily>
๐Deprecated: Since 4.10
fn font_face(&self) -> Option<FontFace>
๐Deprecated: Since 4.10
fn font_size(&self) -> i32
๐Deprecated: Since 4.10
fn set_filter_func(&self, callback: Option<FilterCallback>)
๐Deprecated: Since 4.10
fn set_font_map<P: IsA<FontMap>>(&self, font_map: Option<&P>)
๐Deprecated: Since 4.10
fn font_map(&self) -> Option<FontMap>
๐Deprecated: Since 4.10
fn font_activated(&self, font_name: &str)
๐Deprecated: Since 4.10
Dyn Compatibilityยง
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.