[][src]Enum wayland_protocols::wlr::unstable::layer_shell::v1::client::zwlr_layer_shell_v1::Layer

#[repr(u32)]pub enum Layer {
    Background,
    Bottom,
    Top,
    Overlay,
    // some variants omitted
}

available layers for surfaces

These values indicate which layers a surface can be rendered in. They are ordered by z depth, bottom-most first. Traditional shell surfaces will typically be rendered between the bottom and top layers. Fullscreen shell surfaces are typically rendered at the top layer. Multiple surfaces can share a single layer, and ordering within a single layer is undefined.

Variants

Background
Bottom
Top
Overlay

Implementations

impl Layer[src]

pub fn from_raw(n: u32) -> Option<Layer>[src]

pub fn to_raw(&self) -> u32[src]

Trait Implementations

impl Clone for Layer[src]

impl Copy for Layer[src]

impl Debug for Layer[src]

impl PartialEq<Layer> 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, 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.