pub trait FontChooserImplExt: Sealed + ObjectSubclass {
// Provided methods
fn parent_font_family(&self) -> Option<FontFamily> { ... }
fn parent_font_face(&self) -> Option<FontFace> { ... }
fn parent_font_size(&self) -> i32 { ... }
fn parent_set_filter_func(&self, callback: Option<FilterCallback>) { ... }
fn parent_set_font_map<P: IsA<FontMap>>(&self, font_map: Option<&P>) { ... }
fn parent_font_map(&self) -> Option<FontMap> { ... }
fn parent_font_activated(&self, font_name: &str) { ... }
}
๐Deprecated: Since 4.10
Provided Methodsยง
fn parent_font_family(&self) -> Option<FontFamily>
๐Deprecated: Since 4.10
fn parent_font_face(&self) -> Option<FontFace>
๐Deprecated: Since 4.10
fn parent_font_size(&self) -> i32
๐Deprecated: Since 4.10
fn parent_set_filter_func(&self, callback: Option<FilterCallback>)
๐Deprecated: Since 4.10
fn parent_set_font_map<P: IsA<FontMap>>(&self, font_map: Option<&P>)
๐Deprecated: Since 4.10
fn parent_font_map(&self) -> Option<FontMap>
๐Deprecated: Since 4.10
fn parent_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.