Trait objc2_app_kit::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<Id<NSMenu>>
       where Self: Sized + Message { ... }
}
Available on crate feature NSDockTile only.

Provided Methods§

source

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

source

unsafe fn dockMenu(&self, mtm: MainThreadMarker) -> Option<Id<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.
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§