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

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

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

BackgroundBottomTopOverlay

Methods

impl Layer[src]

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

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

Trait Implementations

impl Copy for Layer[src]

impl Clone for Layer[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl PartialEq<Layer> for Layer[src]

#[must_use] fn ne(&self, other: &Rhs) -> bool1.0.0[src]

This method tests for !=.

impl Debug for Layer[src]

Auto Trait Implementations

impl Unpin for Layer

impl Sync for Layer

impl Send for Layer

impl UnwindSafe for Layer

impl RefUnwindSafe for Layer

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

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.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]