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

pub enum Request {
    CaptureOutput {
        frame: ZwlrScreencopyFrameV1,
        overlay_cursor: i32,
        output: WlOutput,
    },
    CaptureOutputRegion {
        frame: ZwlrScreencopyFrameV1,
        overlay_cursor: i32,
        output: WlOutput,
        x: i32,
        y: i32,
        width: i32,
        height: i32,
    },
    Destroy,
    // some variants omitted
}

Variants

CaptureOutput

capture an output

Capture the next frame of an entire output.

Fields of CaptureOutput

frame: ZwlrScreencopyFrameV1overlay_cursor: i32output: 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: ZwlrScreencopyFrameV1overlay_cursor: i32output: WlOutputx: 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 !RefUnwindSafe for Request

impl Send for Request

impl Sync for Request

impl Unpin for Request

impl !UnwindSafe for Request

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