[][src]Enum gtk::MenuDirectionType

#[non_exhaustive]pub enum MenuDirectionType {
    Parent,
    Child,
    Next,
    Prev,
    // some variants omitted
}

An enumeration representing directional movements within a menu.

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.
Parent

To the parent menu shell

Child

To the submenu, if any, associated with the item

Next

To the next menu item

Prev

To the previous menu item

Trait Implementations

impl Clone for MenuDirectionType[src]

impl Copy for MenuDirectionType[src]

impl Debug for MenuDirectionType[src]

impl Display for MenuDirectionType[src]

impl Eq for MenuDirectionType[src]

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

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

impl Hash for MenuDirectionType[src]

impl Ord for MenuDirectionType[src]

impl PartialEq<MenuDirectionType> for MenuDirectionType[src]

impl PartialOrd<MenuDirectionType> for MenuDirectionType[src]

impl SetValue for MenuDirectionType[src]

impl StaticType for MenuDirectionType[src]

impl StructuralEq for MenuDirectionType[src]

impl StructuralPartialEq for MenuDirectionType[src]

Auto Trait Implementations

impl RefUnwindSafe for MenuDirectionType

impl Send for MenuDirectionType

impl Sync for MenuDirectionType

impl Unpin for MenuDirectionType

impl UnwindSafe for MenuDirectionType

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.