[][src]Struct wayland_protocols::wlr::unstable::layer_shell::v1::client::zwlr_layer_shell_v1::ZwlrLayerShellV1

pub struct ZwlrLayerShellV1(_);

Implementations

impl ZwlrLayerShellV1[src]

pub fn get_layer_surface(
    &self,
    surface: &WlSurface,
    output: Option<&WlOutput>,
    layer: Layer,
    namespace: String
) -> Main<ZwlrLayerSurfaceV1>
[src]

create a layer_surface from a surface

Create a layer surface for an existing surface. This assigns the role of layer_surface, or raises a protocol error if another role is already assigned.

Creating a layer surface from a wl_surface which has a buffer attached or committed is a client error, and any attempts by a client to attach or manipulate a buffer prior to the first layer_surface.configure call must also be treated as errors.

You may pass NULL for output to allow the compositor to decide which output to use. Generally this will be the one that the user most recently interacted with.

Clients can specify a namespace that defines the purpose of the layer surface.

pub fn destroy(&self)[src]

destroy the layer_shell object

This request indicates that the client will not use the layer_shell object any more. Objects that have been created through this instance are not affected.

This is a destructor, you cannot send requests to this object any longer once this method is called. Only available since version 3 of the interface.

Trait Implementations

impl AsRef<Proxy<ZwlrLayerShellV1>> for ZwlrLayerShellV1[src]

impl Clone for ZwlrLayerShellV1[src]

impl Debug for ZwlrLayerShellV1[src]

impl Eq for ZwlrLayerShellV1[src]

impl From<Proxy<ZwlrLayerShellV1>> for ZwlrLayerShellV1[src]

impl From<ZwlrLayerShellV1> for Proxy<ZwlrLayerShellV1>[src]

impl Interface for ZwlrLayerShellV1[src]

type Request = Request

Set of requests associated to this interface Read more

type Event = Event

Set of events associated to this interface Read more

impl PartialEq<ZwlrLayerShellV1> for ZwlrLayerShellV1[src]

impl StructuralEq for ZwlrLayerShellV1[src]

impl StructuralPartialEq for ZwlrLayerShellV1[src]

Auto Trait Implementations

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> Downcast for T where
    T: Any

impl<T> DowncastSync for T where
    T: Send + Sync + Any

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.