pub unsafe trait UIViewControllerContextTransitioning: NSObjectProtocol + MainThreadOnly {
Show 15 methods
// Provided methods
fn containerView(&self) -> Retained<UIView>
where Self: Sized + Message { ... }
fn isAnimated(&self) -> bool
where Self: Sized + Message { ... }
fn isInteractive(&self) -> bool
where Self: Sized + Message { ... }
fn transitionWasCancelled(&self) -> bool
where Self: Sized + Message { ... }
fn presentationStyle(&self) -> UIModalPresentationStyle
where Self: Sized + Message { ... }
fn updateInteractiveTransition(&self, percent_complete: CGFloat)
where Self: Sized + Message { ... }
fn finishInteractiveTransition(&self)
where Self: Sized + Message { ... }
fn cancelInteractiveTransition(&self)
where Self: Sized + Message { ... }
fn pauseInteractiveTransition(&self)
where Self: Sized + Message { ... }
fn completeTransition(&self, did_complete: bool)
where Self: Sized + Message { ... }
fn viewControllerForKey(
&self,
key: &UITransitionContextViewControllerKey,
) -> Option<Retained<UIViewController>>
where Self: Sized + Message { ... }
fn viewForKey(
&self,
key: &UITransitionContextViewKey,
) -> Option<Retained<UIView>>
where Self: Sized + Message { ... }
fn targetTransform(&self) -> CGAffineTransform
where Self: Sized + Message { ... }
fn initialFrameForViewController(&self, vc: &UIViewController) -> CGRect
where Self: Sized + Message { ... }
fn finalFrameForViewController(&self, vc: &UIViewController) -> CGRect
where Self: Sized + Message { ... }
}Available on crate feature
UIViewControllerTransitioning only.Expand description
Provided Methods§
fn containerView(&self) -> Retained<UIView>
Available on crate features
UIResponder and UIView only.fn isAnimated(&self) -> bool
fn isInteractive(&self) -> bool
fn transitionWasCancelled(&self) -> bool
fn presentationStyle(&self) -> UIModalPresentationStyle
Available on crate feature
UIViewController only.fn updateInteractiveTransition(&self, percent_complete: CGFloat)
Available on crate feature
objc2-core-foundation only.fn finishInteractiveTransition(&self)
fn cancelInteractiveTransition(&self)
fn pauseInteractiveTransition(&self)
fn completeTransition(&self, did_complete: bool)
fn viewControllerForKey( &self, key: &UITransitionContextViewControllerKey, ) -> Option<Retained<UIViewController>>
Available on crate features
UIResponder and UIViewController and UIViewControllerTransitionCoordinator only.fn viewForKey( &self, key: &UITransitionContextViewKey, ) -> Option<Retained<UIView>>
Available on crate features
UIResponder and UIView and UIViewControllerTransitionCoordinator only.fn targetTransform(&self) -> CGAffineTransform
Available on crate feature
objc2-core-foundation only.fn initialFrameForViewController(&self, vc: &UIViewController) -> CGRect
Available on crate features
objc2-core-foundation and UIResponder and UIViewController only.fn finalFrameForViewController(&self, vc: &UIViewController) -> CGRect
Available on crate features
objc2-core-foundation and UIResponder and UIViewController only.Trait Implementations§
impl<T> ImplementedBy<T> for dyn UIViewControllerContextTransitioning
Source§impl ProtocolType for dyn UIViewControllerContextTransitioning
impl ProtocolType for dyn UIViewControllerContextTransitioning
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".