Rotate3DTransition
struct · ferroui-base · v0.5.0
struct Rotate3DTransition
Transitions between two pages by rotating them around a shared axis in
3D. It is a PageSlide whose members it derefs to.
Members
new
fn new() -> Self
Creates a horizontal rotation with a zero duration.
with_duration
fn with_duration(duration: SignedDuration, orientation: SlideAxis, depth: Option<f64>) -> Self
Creates a rotation with the given duration and axis. depth
defines the depth of the 3D effect; when None it is calculated
automatically.
depth
fn depth(self: &Self) -> Option<f64>
Defines the depth of the 3D effect. If None, the depth is
calculated automatically.
set_depth
fn set_depth(self: &Self, value: Option<f64>)
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeAnyValueClassDefaultsBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>ReceiverAnyErasedDestructorIntoEitherDefaultDerefIPageTransitionIProgressPageTransitionPartialEqMarkupTypedValueTypeRegistration
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.