#[non_exhaustive]pub enum StackTransitionType {
Show 23 variants
None,
Crossfade,
SlideRight,
SlideLeft,
SlideUp,
SlideDown,
SlideLeftRight,
SlideUpDown,
OverUp,
OverDown,
OverLeft,
OverRight,
UnderUp,
UnderDown,
UnderLeft,
UnderRight,
OverUpDown,
OverDownUp,
OverLeftRight,
OverRightLeft,
RotateLeft,
RotateRight,
RotateLeftRight,
}
Expand description
Possible transitions between pages in a Stack
widget.
New values may be added to this enumeration over time.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
None
No transition
Crossfade
A cross-fade
SlideRight
Slide from left to right
SlideLeft
Slide from right to left
SlideUp
Slide from bottom up
SlideDown
Slide from top down
SlideLeftRight
Slide from left or right according to the children order
SlideUpDown
Slide from top down or bottom up according to the order
OverUp
Cover the old page by sliding up
OverDown
Cover the old page by sliding down
OverLeft
Cover the old page by sliding to the left
OverRight
Cover the old page by sliding to the right
UnderUp
Uncover the new page by sliding up
UnderDown
Uncover the new page by sliding down
UnderLeft
Uncover the new page by sliding to the left
UnderRight
Uncover the new page by sliding to the right
OverUpDown
Cover the old page sliding up or uncover the new page sliding down, according to order
OverDownUp
Cover the old page sliding down or uncover the new page sliding up, according to order
OverLeftRight
Cover the old page sliding left or uncover the new page sliding right, according to order
OverRightLeft
Cover the old page sliding right or uncover the new page sliding left, according to order
RotateLeft
Pretend the pages are sides of a cube and rotate that cube to the left
RotateRight
Pretend the pages are sides of a cube and rotate that cube to the right
RotateLeftRight
Pretend the pages are sides of a cube and rotate that cube to the left or right according to the children order
Trait Implementations§
Source§impl Clone for StackTransitionType
impl Clone for StackTransitionType
Source§fn clone(&self) -> StackTransitionType
fn clone(&self) -> StackTransitionType
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for StackTransitionType
impl Debug for StackTransitionType
Source§impl From<StackTransitionType> for Value
impl From<StackTransitionType> for Value
Source§fn from(v: StackTransitionType) -> Self
fn from(v: StackTransitionType) -> Self
Source§impl<'a> FromValue<'a> for StackTransitionType
impl<'a> FromValue<'a> for StackTransitionType
Source§type Checker = GenericValueTypeChecker<StackTransitionType>
type Checker = GenericValueTypeChecker<StackTransitionType>
Source§unsafe fn from_value(value: &'a Value) -> Self
unsafe fn from_value(value: &'a Value) -> Self
Value
. Read moreSource§impl HasParamSpec for StackTransitionType
impl HasParamSpec for StackTransitionType
type ParamSpec = ParamSpecEnum
Source§type SetValue = StackTransitionType
type SetValue = StackTransitionType
type BuilderFn = fn(_: &str, _: StackTransitionType) -> ParamSpecEnumBuilder<'_, StackTransitionType>
fn param_spec_builder() -> Self::BuilderFn
Source§impl Hash for StackTransitionType
impl Hash for StackTransitionType
Source§impl Ord for StackTransitionType
impl Ord for StackTransitionType
Source§fn cmp(&self, other: &StackTransitionType) -> Ordering
fn cmp(&self, other: &StackTransitionType) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Source§impl PartialEq for StackTransitionType
impl PartialEq for StackTransitionType
Source§impl PartialOrd for StackTransitionType
impl PartialOrd for StackTransitionType
Source§impl StaticType for StackTransitionType
impl StaticType for StackTransitionType
Source§fn static_type() -> Type
fn static_type() -> Type
Self
.Source§impl ToValue for StackTransitionType
impl ToValue for StackTransitionType
Source§impl ValueType for StackTransitionType
impl ValueType for StackTransitionType
Source§type Type = StackTransitionType
type Type = StackTransitionType
Type
from. Read moreimpl Copy for StackTransitionType
impl Eq for StackTransitionType
impl StructuralPartialEq for StackTransitionType
Auto Trait Implementations§
impl Freeze for StackTransitionType
impl RefUnwindSafe for StackTransitionType
impl Send for StackTransitionType
impl Sync for StackTransitionType
impl Unpin for StackTransitionType
impl UnwindSafe for StackTransitionType
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoClosureReturnValue for T
impl<T> IntoClosureReturnValue for T
fn into_closure_return_value(self) -> Option<Value>
Source§impl<T> PropertyGet for Twhere
T: HasParamSpec,
impl<T> PropertyGet for Twhere
T: HasParamSpec,
Source§impl<T> StaticTypeExt for Twhere
T: StaticType,
impl<T> StaticTypeExt for Twhere
T: StaticType,
Source§fn ensure_type()
fn ensure_type()
Source§impl<T> ToSendValue for T
impl<T> ToSendValue for T
Source§fn to_send_value(&self) -> SendValue
fn to_send_value(&self) -> SendValue
SendValue
clone of self
.