pub trait FontFamilyExt: IsA<FontFamily> + 'static {
// Provided methods
fn face(&self, name: Option<&str>) -> Option<FontFace> { ... }
fn name(&self) -> GString { ... }
fn is_monospace(&self) -> bool { ... }
fn is_variable(&self) -> bool { ... }
fn list_faces(&self) -> Vec<FontFace> { ... }
fn connect_is_monospace_notify<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId { ... }
fn connect_is_variable_notify<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId { ... }
fn connect_name_notify<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId { ... }
}Provided Methods§
fn face(&self, name: Option<&str>) -> Option<FontFace>
fn name(&self) -> GString
fn is_monospace(&self) -> bool
fn is_variable(&self) -> bool
fn list_faces(&self) -> Vec<FontFace>
fn connect_is_monospace_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId
fn connect_is_variable_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId
fn connect_name_notify<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId
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.