Trait NSViewControllerPresentationAnimator

Source
pub unsafe trait NSViewControllerPresentationAnimator: NSObjectProtocol + MainThreadOnly {
    // Provided methods
    unsafe fn animatePresentationOfViewController_fromViewController(
        &self,
        view_controller: &NSViewController,
        from_view_controller: &NSViewController,
    )
       where Self: Sized + Message { ... }
    unsafe fn animateDismissalOfViewController_fromViewController(
        &self,
        view_controller: &NSViewController,
        from_view_controller: &NSViewController,
    )
       where Self: Sized + Message { ... }
}
Available on crate feature NSViewController only.
Expand description

Provided Methods§

Source

unsafe fn animatePresentationOfViewController_fromViewController( &self, view_controller: &NSViewController, from_view_controller: &NSViewController, )
where Self: Sized + Message,

Available on crate feature NSResponder only.
Source

unsafe fn animateDismissalOfViewController_fromViewController( &self, view_controller: &NSViewController, from_view_controller: &NSViewController, )
where Self: Sized + Message,

Available on crate feature NSResponder only.

Trait Implementations§

Source§

impl ProtocolType for dyn NSViewControllerPresentationAnimator

Source§

const NAME: &'static str = "NSViewControllerPresentationAnimator"

The name of the Objective-C protocol that this type represents. Read more
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 NSViewControllerPresentationAnimator

Implementations on Foreign Types§

Source§

impl<T> NSViewControllerPresentationAnimator for ProtocolObject<T>

Implementors§