Trait objc2_app_kit::NSFontChanging

source ·
pub unsafe trait NSFontChanging: NSObjectProtocol + IsMainThreadOnly {
    // 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.

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.
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§