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§
fn state(&self) -> UIViewAnimatingState
fn isRunning(&self) -> bool
fn isReversed(&self) -> bool
Sourcefn setReversed(&self, reversed: bool)
fn setReversed(&self, reversed: bool)
Setter for isReversed.
fn fractionComplete(&self) -> CGFloat
Available on crate feature
objc2-core-foundation only.Sourcefn setFractionComplete(&self, fraction_complete: CGFloat)
Available on crate feature objc2-core-foundation only.
fn setFractionComplete(&self, fraction_complete: CGFloat)
objc2-core-foundation only.Setter for fractionComplete.
fn startAnimation(&self)
fn startAnimationAfterDelay(&self, delay: NSTimeInterval)
fn pauseAnimation(&self)
fn stopAnimation(&self, without_finishing: bool)
fn finishAnimationAtPosition(&self, final_position: UIViewAnimatingPosition)
Trait Implementations§
Source§impl ProtocolType for dyn UIViewAnimating
impl ProtocolType for dyn UIViewAnimating
impl<T> ImplementedBy<T> for dyn UIViewAnimating
Implementations on Foreign Types§
impl<T> UIViewAnimating for ProtocolObject<T>where
T: ?Sized + UIViewAnimating,
Implementors§
impl UIViewAnimating for UIViewPropertyAnimator
Available on crate feature
UIViewPropertyAnimator only.