pub unsafe trait NSSeguePerforming: NSObjectProtocol + MainThreadOnly {
// Provided methods
unsafe fn prepareForSegue_sender(
&self,
segue: &NSStoryboardSegue,
sender: Option<&AnyObject>,
)
where Self: Sized + Message { ... }
unsafe fn performSegueWithIdentifier_sender(
&self,
identifier: &NSStoryboardSegueIdentifier,
sender: Option<&AnyObject>,
)
where Self: Sized + Message { ... }
unsafe fn shouldPerformSegueWithIdentifier_sender(
&self,
identifier: &NSStoryboardSegueIdentifier,
sender: Option<&AnyObject>,
) -> bool
where Self: Sized + Message { ... }
}
Available on crate feature
NSStoryboardSegue
only.Expand description
Provided Methods§
Sourceunsafe fn prepareForSegue_sender(
&self,
segue: &NSStoryboardSegue,
sender: Option<&AnyObject>,
)
unsafe fn prepareForSegue_sender( &self, segue: &NSStoryboardSegue, sender: Option<&AnyObject>, )
§Safety
sender
should be of the correct type.
Sourceunsafe fn performSegueWithIdentifier_sender(
&self,
identifier: &NSStoryboardSegueIdentifier,
sender: Option<&AnyObject>,
)
unsafe fn performSegueWithIdentifier_sender( &self, identifier: &NSStoryboardSegueIdentifier, sender: Option<&AnyObject>, )
§Safety
sender
should be of the correct type.
Sourceunsafe fn shouldPerformSegueWithIdentifier_sender(
&self,
identifier: &NSStoryboardSegueIdentifier,
sender: Option<&AnyObject>,
) -> bool
unsafe fn shouldPerformSegueWithIdentifier_sender( &self, identifier: &NSStoryboardSegueIdentifier, sender: Option<&AnyObject>, ) -> bool
§Safety
sender
should be of the correct type.
Trait Implementations§
Source§impl ProtocolType for dyn NSSeguePerforming
impl ProtocolType for dyn NSSeguePerforming
impl<T> ImplementedBy<T> for dyn NSSeguePerforming
Implementations on Foreign Types§
impl<T> NSSeguePerforming for ProtocolObject<T>where
T: ?Sized + NSSeguePerforming,
Implementors§
impl NSSeguePerforming for NSCollectionViewItem
Available on crate feature
NSCollectionView
only.impl NSSeguePerforming for NSPageController
Available on crate feature
NSPageController
only.impl NSSeguePerforming for NSSplitViewController
Available on crate feature
NSSplitViewController
only.impl NSSeguePerforming for NSSplitViewItemAccessoryViewController
Available on crate feature
NSSplitViewItemAccessoryViewController
only.impl NSSeguePerforming for NSTabViewController
Available on crate feature
NSTabViewController
only.impl NSSeguePerforming for NSTitlebarAccessoryViewController
Available on crate feature
NSTitlebarAccessoryViewController
only.impl NSSeguePerforming for NSViewController
Available on crate feature
NSViewController
only.impl NSSeguePerforming for NSWindowController
Available on crate feature
NSWindowController
only.