[][src]Enum atk::Layer

#[non_exhaustive]pub enum Layer {
    Invalid,
    Background,
    Canvas,
    Widget,
    Mdi,
    Popup,
    Overlay,
    Window,
    // some variants omitted
}

Describes the layer of a component

These enumerated "layer values" are used when determining which UI rendering layer a component is drawn into, which can help in making determinations of when components occlude one another.

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

The object does not have a layer

Background

This layer is reserved for the desktop background

Canvas

This layer is used for Canvas components

Widget

This layer is normally used for components

Mdi

This layer is used for layered components

Popup

This layer is used for popup components, such as menus

Overlay

This layer is reserved for future use.

Window

This layer is used for toplevel windows.

Trait Implementations

impl Clone for Layer[src]

impl Copy for Layer[src]

impl Debug for Layer[src]

impl Display for Layer[src]

impl Eq for Layer[src]

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

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

impl Hash for Layer[src]

impl Ord for Layer[src]

impl PartialEq<Layer> for Layer[src]

impl PartialOrd<Layer> for Layer[src]

impl SetValue for Layer[src]

impl StaticType for Layer[src]

impl StructuralEq for Layer[src]

impl StructuralPartialEq for Layer[src]

Auto Trait Implementations

impl RefUnwindSafe for Layer

impl Send for Layer

impl Sync for Layer

impl Unpin for Layer

impl UnwindSafe for Layer

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.