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

#[non_exhaustive]pub enum Request {
    CaptureOutput {
        overlay_cursor: i32,
        output: WlOutput,
    },
    CaptureOutputRegion {
        overlay_cursor: i32,
        output: WlOutput,
        x: i32,
        y: i32,
        width: i32,
        height: i32,
    },
    Destroy,
}

Variants (Non-exhaustive)

Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
CaptureOutput

capture an output

Capture the next frame of an entire output.

Fields of CaptureOutput

overlay_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

overlay_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 Debug for Request[src]

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