Trait NSDockTilePlugIn

Source
pub unsafe trait NSDockTilePlugIn: NSObjectProtocol {
    // Provided methods
    unsafe fn setDockTile(&self, dock_tile: Option<&NSDockTile>)
       where Self: Sized + Message { ... }
    unsafe fn dockMenu(&self, mtm: MainThreadMarker) -> Option<Retained<NSMenu>>
       where Self: Sized + Message { ... }
}
Available on crate feature NSDockTile only.
Expand description

Provided Methods§

Source

unsafe fn setDockTile(&self, dock_tile: Option<&NSDockTile>)
where Self: Sized + Message,

Source

unsafe fn dockMenu(&self, mtm: MainThreadMarker) -> Option<Retained<NSMenu>>
where Self: Sized + Message,

Available on crate feature NSMenu only.

Trait Implementations§

Source§

impl ProtocolType for dyn NSDockTilePlugIn

Source§

const NAME: &'static str = "NSDockTilePlugIn"

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 NSDockTilePlugIn

Implementations on Foreign Types§

Source§

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

Implementors§