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§
unsafe fn state(&self) -> UIViewAnimatingState
unsafe fn isRunning(&self) -> bool
unsafe fn isReversed(&self) -> bool
unsafe fn setReversed(&self, reversed: bool)
unsafe fn fractionComplete(&self) -> CGFloat
unsafe fn setFractionComplete(&self, fraction_complete: CGFloat)
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.