[][src]Enum gdk::NotifyType

#[non_exhaustive]pub enum NotifyType {
    Ancestor,
    Virtual,
    Inferior,
    Nonlinear,
    NonlinearVirtual,
    Unknown,
    // some variants omitted
}

Specifies the kind of crossing for EventCrossing.

See the X11 protocol specification of LeaveNotify for full details of crossing event generation.

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

the window is entered from an ancestor or left towards an ancestor.

Virtual

the pointer moves between an ancestor and an inferior of the window.

Inferior

the window is entered from an inferior or left towards an inferior.

Nonlinear

the window is entered from or left towards a window which is neither an ancestor nor an inferior.

NonlinearVirtual

the pointer moves between two windows which are not ancestors of each other and the window is part of the ancestor chain between one of these windows and their least common ancestor.

Unknown

an unknown type of enter/leave event occurred.

Trait Implementations

impl Clone for NotifyType[src]

impl Copy for NotifyType[src]

impl Debug for NotifyType[src]

impl Display for NotifyType[src]

impl Eq for NotifyType[src]

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

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

impl Hash for NotifyType[src]

impl Ord for NotifyType[src]

impl PartialEq<NotifyType> for NotifyType[src]

impl PartialOrd<NotifyType> for NotifyType[src]

impl SetValue for NotifyType[src]

impl StaticType for NotifyType[src]

impl StructuralEq for NotifyType[src]

impl StructuralPartialEq for NotifyType[src]

Auto Trait Implementations

impl RefUnwindSafe for NotifyType

impl Send for NotifyType

impl Sync for NotifyType

impl Unpin for NotifyType

impl UnwindSafe for NotifyType

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.