Trait NSFontChanging

Source
pub unsafe trait NSFontChanging: NSObjectProtocol + MainThreadOnly {
    // Provided methods
    unsafe fn changeFont(&self, sender: Option<&NSFontManager>)
       where Self: Sized + Message { ... }
    unsafe fn validModesForFontPanel(
        &self,
        font_panel: &NSFontPanel,
    ) -> NSFontPanelModeMask
       where Self: Sized + Message { ... }
}
Available on crate feature NSFontPanel only.
Expand description

Provided Methods§

Source

unsafe fn changeFont(&self, sender: Option<&NSFontManager>)
where Self: Sized + Message,

Available on crate feature NSFontManager only.
Source

unsafe fn validModesForFontPanel( &self, font_panel: &NSFontPanel, ) -> NSFontPanelModeMask
where Self: Sized + Message,

Available on crate features NSPanel and NSResponder and NSWindow only.

Trait Implementations§

Source§

impl ProtocolType for dyn NSFontChanging

Source§

const NAME: &'static str = "NSFontChanging"

The name of the Objective-C protocol that this type represents. Read more
Source§

fn protocol() -> Option<&'static AnyProtocol>

Get a reference to the Objective-C protocol object that this type represents. Read more
Source§

impl<T> ImplementedBy<T> for dyn NSFontChanging

Implementations on Foreign Types§

Source§

impl<T> NSFontChanging for ProtocolObject<T>
where T: ?Sized + NSFontChanging,

Implementors§