[][src]Enum wayland_protocols::wlr::unstable::screencopy::v1::client::zwlr_screencopy_manager_v1::Request

pub enum Request {
    CaptureOutput {
        frame: Proxy<ZwlrScreencopyFrameV1>,
        overlay_cursor: i32,
        output: Proxy<WlOutput>,
    },
    CaptureOutputRegion {
        frame: Proxy<ZwlrScreencopyFrameV1>,
        overlay_cursor: i32,
        output: Proxy<WlOutput>,
        x: i32,
        y: i32,
        width: i32,
        height: i32,
    },
    Destroy,
}

Variants

CaptureOutput

capture an output

Capture the next frame of an entire output.

Fields of CaptureOutput

frame: Proxy<ZwlrScreencopyFrameV1>overlay_cursor: i32output: Proxy<WlOutput>
CaptureOutputRegion

capture an output's region

Capture the next frame of an output's region.

The region is given in output logical coordinates, see xdg_output.logical_size. The region will be clipped to the output's extents.

Fields of CaptureOutputRegion

frame: Proxy<ZwlrScreencopyFrameV1>overlay_cursor: i32output: Proxy<WlOutput>x: i32y: i32width: i32height: i32
Destroy

destroy the manager

All objects created by the manager will still remain valid, until their appropriate destroy request has been called.

This is a destructor, once sent this object cannot be used any longer.

Trait Implementations

impl MessageGroup for Request[src]

type Map = ProxyMap

The wrapper type for ObjectMap allowing the mapping of Object and NewId arguments to the object map during parsing. Read more

Auto Trait Implementations

impl Send for Request

impl Sync for Request

Blanket Implementations

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

impl<T> From<T> for 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> BorrowMut<T> for T where
    T: ?Sized
[src]

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

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