pub unsafe trait UIViewAnimating: NSObjectProtocol + MainThreadOnly {
// 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.Expand description
Provided Methods§
unsafe fn state(&self) -> UIViewAnimatingState
unsafe fn isRunning(&self) -> bool
unsafe fn isReversed(&self) -> bool
Sourceunsafe fn setReversed(&self, reversed: bool)
unsafe fn setReversed(&self, reversed: bool)
Setter for isReversed.
unsafe fn fractionComplete(&self) -> CGFloat
Available on crate feature
objc2-core-foundation only.Sourceunsafe fn setFractionComplete(&self, fraction_complete: CGFloat)
Available on crate feature objc2-core-foundation only.
unsafe fn setFractionComplete(&self, fraction_complete: CGFloat)
objc2-core-foundation only.Setter for fractionComplete.
unsafe fn startAnimation(&self)
unsafe fn startAnimationAfterDelay(&self, delay: NSTimeInterval)
unsafe fn pauseAnimation(&self)
unsafe fn stopAnimation(&self, without_finishing: bool)
unsafe 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.