[][src]Enum gtk::StackTransitionType

#[non_exhaustive]pub enum StackTransitionType {
    None,
    Crossfade,
    SlideRight,
    SlideLeft,
    SlideUp,
    SlideDown,
    SlideLeftRight,
    SlideUpDown,
    OverUp,
    OverDown,
    OverLeft,
    OverRight,
    UnderUp,
    UnderDown,
    UnderLeft,
    UnderRight,
    OverUpDown,
    OverDownUp,
    OverLeftRight,
    OverRightLeft,
    // some variants omitted
}

These enumeration values describe the possible transitions between pages in a Stack widget.

New values may be added to this enumeration over time.

Variants (Non-exhaustive)

Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
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. Since 3.12

OverDown

Cover the old page by sliding down. Since: 3.12

OverLeft

Cover the old page by sliding to the left. Since: 3.12

OverRight

Cover the old page by sliding to the right. Since: 3.12

UnderUp

Uncover the new page by sliding up. Since 3.12

UnderDown

Uncover the new page by sliding down. Since: 3.12

UnderLeft

Uncover the new page by sliding to the left. Since: 3.12

UnderRight

Uncover the new page by sliding to the right. Since: 3.12

OverUpDown

Cover the old page sliding up or uncover the new page sliding down, according to order. Since: 3.12

OverDownUp

Cover the old page sliding down or uncover the new page sliding up, according to order. Since: 3.14

OverLeftRight

Cover the old page sliding left or uncover the new page sliding right, according to order. Since: 3.14

OverRightLeft

Cover the old page sliding right or uncover the new page sliding left, according to order. Since: 3.14

Trait Implementations

impl Clone for StackTransitionType[src]

impl Copy for StackTransitionType[src]

impl Debug for StackTransitionType[src]

impl Display for StackTransitionType[src]

impl Eq for StackTransitionType[src]

impl<'a> FromValue<'a> for StackTransitionType[src]

impl<'a> FromValueOptional<'a> for StackTransitionType[src]

impl Hash for StackTransitionType[src]

impl Ord for StackTransitionType[src]

impl PartialEq<StackTransitionType> for StackTransitionType[src]

impl PartialOrd<StackTransitionType> for StackTransitionType[src]

impl SetValue for StackTransitionType[src]

impl StaticType for StackTransitionType[src]

impl StructuralEq for StackTransitionType[src]

impl StructuralPartialEq for StackTransitionType[src]

Auto Trait Implementations

impl RefUnwindSafe for StackTransitionType

impl Send for StackTransitionType

impl Sync for StackTransitionType

impl Unpin for StackTransitionType

impl UnwindSafe for StackTransitionType

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToSendValue for T where
    T: ToValue + SetValue + Send + ?Sized

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T> ToValue for T where
    T: SetValue + ?Sized

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.