[][src]Enum libhandy4::FlapTransitionType

#[non_exhaustive]pub enum FlapTransitionType {
    Over,
    Under,
    Slide,
    // some variants omitted
}

These enumeration values describe the possible transitions between children in a Flap widget, as well as which areas can be swiped via Flap:swipe-to-open and Flap:swipe-to-close.

New values may be added to this enum 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.
Over

The flap slides over the content, which is dimmed. When folded, only the flap can be swiped.

Under

The content slides over the flap. Only the content can be swiped.

Slide

The flap slides offscreen when hidden, neither the flap nor content overlap each other. Both widgets can be swiped.

Trait Implementations

impl Clone for FlapTransitionType[src]

impl Copy for FlapTransitionType[src]

impl Debug for FlapTransitionType[src]

impl Display for FlapTransitionType[src]

impl Eq for FlapTransitionType[src]

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

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

impl Hash for FlapTransitionType[src]

impl Ord for FlapTransitionType[src]

impl PartialEq<FlapTransitionType> for FlapTransitionType[src]

impl PartialOrd<FlapTransitionType> for FlapTransitionType[src]

impl SetValue for FlapTransitionType[src]

impl StaticType for FlapTransitionType[src]

impl StructuralEq for FlapTransitionType[src]

impl StructuralPartialEq for FlapTransitionType[src]

Auto Trait Implementations

impl RefUnwindSafe for FlapTransitionType[src]

impl Send for FlapTransitionType[src]

impl Sync for FlapTransitionType[src]

impl Unpin for FlapTransitionType[src]

impl UnwindSafe for FlapTransitionType[src]

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.