pub unsafe trait NSDockTilePlugIn: NSObjectProtocol {
// Provided methods
fn setDockTile(&self, dock_tile: Option<&NSDockTile>)
where Self: Sized + Message { ... }
fn dockMenu(&self, mtm: MainThreadMarker) -> Option<Retained<NSMenu>>
where Self: Sized + Message { ... }
}Available on crate feature
NSDockTile only.Expand description
Provided Methods§
fn setDockTile(&self, dock_tile: Option<&NSDockTile>)
fn dockMenu(&self, mtm: MainThreadMarker) -> Option<Retained<NSMenu>>
Available on crate feature
NSMenu only.Trait Implementations§
Source§impl ProtocolType for dyn NSDockTilePlugIn
impl ProtocolType for dyn NSDockTilePlugIn
impl<T> ImplementedBy<T> for dyn NSDockTilePlugIn
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".