PageTransitionItem
struct · ferroui-base · v0.5.0
struct PageTransitionItem
Describes a single visible page within a carousel viewport.
Members
index
index: i32
The index of the page.
visual
visual: crate::Ref<crate::Visual>
The visual of the page.
viewport_center_offset
viewport_center_offset: f64
The offset of the page from the center of the viewport, in pages.
new
fn new(index: i32, visual: Ref<Visual>, viewport_center_offset: f64) -> Self
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafePropertyValueAnyValueClassDefaultsBorrow<T>BorrowMut<T>CloneToUninitInto<U>From<T>TryInto<U>TryFrom<U>AnyToOwnedErasedDestructorIntoEitherCloneDebugStructuralPartialEqPartialEq
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.