pub unsafe trait NSDrawerDelegate: NSObjectProtocol {
// Provided methods
fn drawerShouldOpen(&self, sender: &NSDrawer) -> bool
where Self: Sized + Message { ... }
fn drawerShouldClose(&self, sender: &NSDrawer) -> bool
where Self: Sized + Message { ... }
fn drawerWillResizeContents_toSize(
&self,
sender: &NSDrawer,
content_size: NSSize,
) -> NSSize
where Self: Sized + Message { ... }
fn drawerWillOpen(&self, notification: &NSNotification)
where Self: Sized + Message { ... }
fn drawerDidOpen(&self, notification: &NSNotification)
where Self: Sized + Message { ... }
fn drawerWillClose(&self, notification: &NSNotification)
where Self: Sized + Message { ... }
fn drawerDidClose(&self, notification: &NSNotification)
where Self: Sized + Message { ... }
}Available on crate feature
NSDrawer only.Expand description
Provided Methods§
fn drawerShouldOpen(&self, sender: &NSDrawer) -> bool
👎Deprecated:
Drawers are deprecated; consider using NSSplitViewController
Available on crate feature
NSResponder only.fn drawerShouldClose(&self, sender: &NSDrawer) -> bool
👎Deprecated:
Drawers are deprecated; consider using NSSplitViewController
Available on crate feature
NSResponder only.fn drawerWillResizeContents_toSize( &self, sender: &NSDrawer, content_size: NSSize, ) -> NSSize
👎Deprecated:
Drawers are deprecated; consider using NSSplitViewController
Available on crate feature
NSResponder only.fn drawerWillOpen(&self, notification: &NSNotification)
👎Deprecated:
Drawers are deprecated; consider using NSSplitViewController
fn drawerDidOpen(&self, notification: &NSNotification)
👎Deprecated:
Drawers are deprecated; consider using NSSplitViewController
fn drawerWillClose(&self, notification: &NSNotification)
👎Deprecated:
Drawers are deprecated; consider using NSSplitViewController
fn drawerDidClose(&self, notification: &NSNotification)
👎Deprecated:
Drawers are deprecated; consider using NSSplitViewController
Trait Implementations§
impl<T> ImplementedBy<T> for dyn NSDrawerDelegate
Source§impl ProtocolType for dyn NSDrawerDelegate
impl ProtocolType for dyn NSDrawerDelegate
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".