Skip to main content

NSViewControllerPresentationAnimator

Trait NSViewControllerPresentationAnimator 

Source
pub unsafe trait NSViewControllerPresentationAnimator: NSObjectProtocol + MainThreadOnly {
    // Provided methods
    fn animatePresentationOfViewController_fromViewController(
        &self,
        view_controller: &NSViewController,
        from_view_controller: &NSViewController,
    )
       where Self: Sized + Message { ... }
    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

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

Available on crate feature NSResponder only.
Source

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<T> ImplementedBy<T> for dyn NSViewControllerPresentationAnimator

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

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl<T> NSViewControllerPresentationAnimator for ProtocolObject<T>

Implementors§