pub unsafe trait NSFontChanging: NSObjectProtocol + MainThreadOnly {
// Provided methods
fn changeFont(&self, sender: Option<&NSFontManager>)
where Self: Sized + Message { ... }
fn validModesForFontPanel(
&self,
font_panel: &NSFontPanel,
) -> NSFontPanelModeMask
where Self: Sized + Message { ... }
}Available on crate feature
NSFontPanel only.Expand description
Provided Methods§
fn changeFont(&self, sender: Option<&NSFontManager>)
Available on crate feature
NSFontManager only.fn validModesForFontPanel( &self, font_panel: &NSFontPanel, ) -> NSFontPanelModeMask
Available on crate features
NSPanel and NSResponder and NSWindow only.Trait Implementations§
impl<T> ImplementedBy<T> for dyn NSFontChanging
Source§impl ProtocolType for dyn NSFontChanging
impl ProtocolType for dyn NSFontChanging
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".