Trait objc2_app_kit::NSDrawerDelegate

source ·
pub unsafe trait NSDrawerDelegate: NSObjectProtocol {
    // Provided methods
    unsafe fn drawerShouldOpen(&self, sender: &NSDrawer) -> bool
       where Self: Sized + Message { ... }
    unsafe fn drawerShouldClose(&self, sender: &NSDrawer) -> bool
       where Self: Sized + Message { ... }
    unsafe fn drawerWillResizeContents_toSize(
        &self,
        sender: &NSDrawer,
        content_size: NSSize
    ) -> NSSize
       where Self: Sized + Message { ... }
    unsafe fn drawerWillOpen(&self, notification: &NSNotification)
       where Self: Sized + Message { ... }
    unsafe fn drawerDidOpen(&self, notification: &NSNotification)
       where Self: Sized + Message { ... }
    unsafe fn drawerWillClose(&self, notification: &NSNotification)
       where Self: Sized + Message { ... }
    unsafe fn drawerDidClose(&self, notification: &NSNotification)
       where Self: Sized + Message { ... }
}
Available on crate feature NSDrawer only.

Provided Methods§

source

unsafe fn drawerShouldOpen(&self, sender: &NSDrawer) -> bool
where Self: Sized + Message,

👎Deprecated: Drawers are deprecated; consider using NSSplitViewController
Available on crate feature NSResponder only.
source

unsafe fn drawerShouldClose(&self, sender: &NSDrawer) -> bool
where Self: Sized + Message,

👎Deprecated: Drawers are deprecated; consider using NSSplitViewController
Available on crate feature NSResponder only.
source

unsafe fn drawerWillResizeContents_toSize( &self, sender: &NSDrawer, content_size: NSSize ) -> NSSize
where Self: Sized + Message,

👎Deprecated: Drawers are deprecated; consider using NSSplitViewController
Available on crate feature NSResponder only.
source

unsafe fn drawerWillOpen(&self, notification: &NSNotification)
where Self: Sized + Message,

👎Deprecated: Drawers are deprecated; consider using NSSplitViewController
source

unsafe fn drawerDidOpen(&self, notification: &NSNotification)
where Self: Sized + Message,

👎Deprecated: Drawers are deprecated; consider using NSSplitViewController
source

unsafe fn drawerWillClose(&self, notification: &NSNotification)
where Self: Sized + Message,

👎Deprecated: Drawers are deprecated; consider using NSSplitViewController
source

unsafe fn drawerDidClose(&self, notification: &NSNotification)
where Self: Sized + Message,

👎Deprecated: Drawers are deprecated; consider using NSSplitViewController

Trait Implementations§

source§

impl ProtocolType for dyn NSDrawerDelegate

source§

const NAME: &'static str = "NSDrawerDelegate"

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 NSDrawerDelegate

Implementations on Foreign Types§

source§

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

Implementors§