Trait objc2_ui_kit::UIViewAnimating

source ·
pub unsafe trait UIViewAnimating: NSObjectProtocol + IsMainThreadOnly {
    // Provided methods
    unsafe fn state(&self) -> UIViewAnimatingState
       where Self: Sized + Message { ... }
    unsafe fn isRunning(&self) -> bool
       where Self: Sized + Message { ... }
    unsafe fn isReversed(&self) -> bool
       where Self: Sized + Message { ... }
    unsafe fn setReversed(&self, reversed: bool)
       where Self: Sized + Message { ... }
    unsafe fn fractionComplete(&self) -> CGFloat
       where Self: Sized + Message { ... }
    unsafe fn setFractionComplete(&self, fraction_complete: CGFloat)
       where Self: Sized + Message { ... }
    unsafe fn startAnimation(&self)
       where Self: Sized + Message { ... }
    unsafe fn startAnimationAfterDelay(&self, delay: NSTimeInterval)
       where Self: Sized + Message { ... }
    unsafe fn pauseAnimation(&self)
       where Self: Sized + Message { ... }
    unsafe fn stopAnimation(&self, without_finishing: bool)
       where Self: Sized + Message { ... }
    unsafe fn finishAnimationAtPosition(
        &self,
        final_position: UIViewAnimatingPosition
    )
       where Self: Sized + Message { ... }
}
Available on crate feature UIViewAnimating only.

Provided Methods§

source

unsafe fn state(&self) -> UIViewAnimatingState
where Self: Sized + Message,

source

unsafe fn isRunning(&self) -> bool
where Self: Sized + Message,

source

unsafe fn isReversed(&self) -> bool
where Self: Sized + Message,

source

unsafe fn setReversed(&self, reversed: bool)
where Self: Sized + Message,

source

unsafe fn fractionComplete(&self) -> CGFloat
where Self: Sized + Message,

source

unsafe fn setFractionComplete(&self, fraction_complete: CGFloat)
where Self: Sized + Message,

source

unsafe fn startAnimation(&self)
where Self: Sized + Message,

source

unsafe fn startAnimationAfterDelay(&self, delay: NSTimeInterval)
where Self: Sized + Message,

source

unsafe fn pauseAnimation(&self)
where Self: Sized + Message,

source

unsafe fn stopAnimation(&self, without_finishing: bool)
where Self: Sized + Message,

source

unsafe fn finishAnimationAtPosition( &self, final_position: UIViewAnimatingPosition )
where Self: Sized + Message,

Trait Implementations§

source§

impl ProtocolType for dyn UIViewAnimating

source§

const NAME: &'static str = "UIViewAnimating"

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

Implementations on Foreign Types§

source§

impl<T> UIViewAnimating for ProtocolObject<T>
where T: ?Sized + UIViewAnimating,

Implementors§

source§

impl UIViewAnimating for UIViewPropertyAnimator

Available on crate feature UIViewPropertyAnimator only.