UIViewAnimating

Trait UIViewAnimating 

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

Provided Methods§

Source

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

Source

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

Source

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

Source

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

Setter for isReversed.

Source

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

Available on crate feature objc2-core-foundation only.
Source

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

Available on crate feature objc2-core-foundation only.

Setter for fractionComplete.

Source

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

Source

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

Source

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

Source

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

Source

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. 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 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.