UIViewImplicitlyAnimating

Trait UIViewImplicitlyAnimating 

Source
pub unsafe trait UIViewImplicitlyAnimating: UIViewAnimating + MainThreadOnly {
    // Provided methods
    fn addAnimations_delayFactor(
        &self,
        animation: &DynBlock<dyn Fn()>,
        delay_factor: CGFloat,
    )
       where Self: Sized + Message { ... }
    fn addAnimations(&self, animation: &DynBlock<dyn Fn()>)
       where Self: Sized + Message { ... }
    fn addCompletion(
        &self,
        completion: &DynBlock<dyn Fn(UIViewAnimatingPosition)>,
    )
       where Self: Sized + Message { ... }
    fn continueAnimationWithTimingParameters_durationFactor(
        &self,
        parameters: Option<&ProtocolObject<dyn UITimingCurveProvider>>,
        duration_factor: CGFloat,
    )
       where Self: Sized + Message { ... }
}
Available on crate feature UIViewAnimating only.
Expand description

Provided Methods§

Source

fn addAnimations_delayFactor( &self, animation: &DynBlock<dyn Fn()>, delay_factor: CGFloat, )
where Self: Sized + Message,

Available on crate features block2 and objc2-core-foundation only.
Source

fn addAnimations(&self, animation: &DynBlock<dyn Fn()>)
where Self: Sized + Message,

Available on crate feature block2 only.
Source

fn addCompletion(&self, completion: &DynBlock<dyn Fn(UIViewAnimatingPosition)>)
where Self: Sized + Message,

Available on crate feature block2 only.
Source

fn continueAnimationWithTimingParameters_durationFactor( &self, parameters: Option<&ProtocolObject<dyn UITimingCurveProvider>>, duration_factor: CGFloat, )
where Self: Sized + Message,

Available on crate features UITimingCurveProvider and objc2-core-foundation only.

Trait Implementations§

Source§

impl ProtocolType for dyn UIViewImplicitlyAnimating

Source§

const NAME: &'static str = "UIViewImplicitlyAnimating"

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 UIViewImplicitlyAnimating

Implementations on Foreign Types§

Source§

impl<T> UIViewImplicitlyAnimating for ProtocolObject<T>

Implementors§

Source§

impl UIViewImplicitlyAnimating for UIViewPropertyAnimator

Available on crate feature UIViewPropertyAnimator only.