pub unsafe trait NSAnimationDelegate: NSObjectProtocol {
// Provided methods
fn animationShouldStart(&self, animation: &NSAnimation) -> bool
where Self: Sized + Message { ... }
fn animationDidStop(&self, animation: &NSAnimation)
where Self: Sized + Message { ... }
fn animationDidEnd(&self, animation: &NSAnimation)
where Self: Sized + Message { ... }
fn animation_valueForProgress(
&self,
animation: &NSAnimation,
progress: NSAnimationProgress,
) -> c_float
where Self: Sized + Message { ... }
fn animation_didReachProgressMark(
&self,
animation: &NSAnimation,
progress: NSAnimationProgress,
)
where Self: Sized + Message { ... }
}Available on crate feature
NSAnimation only.Expand description
Provided Methods§
fn animationShouldStart(&self, animation: &NSAnimation) -> bool
fn animationDidStop(&self, animation: &NSAnimation)
fn animationDidEnd(&self, animation: &NSAnimation)
fn animation_valueForProgress( &self, animation: &NSAnimation, progress: NSAnimationProgress, ) -> c_float
fn animation_didReachProgressMark( &self, animation: &NSAnimation, progress: NSAnimationProgress, )
Trait Implementations§
impl<T> ImplementedBy<T> for dyn NSAnimationDelegate
Source§impl ProtocolType for dyn NSAnimationDelegate
impl ProtocolType for dyn NSAnimationDelegate
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".
Implementations on Foreign Types§
impl<T> NSAnimationDelegate for ProtocolObject<T>where
T: ?Sized + NSAnimationDelegate,
Implementors§
impl NSAnimationDelegate for NSTitlebarAccessoryViewController
Available on crate feature
NSTitlebarAccessoryViewController only.