[][src]Trait wayland_protocols::wlr::unstable::screencopy::v1::client::zwlr_screencopy_manager_v1::RequestsTrait

pub trait RequestsTrait {
    fn capture_output<F>(
        &self,
        overlay_cursor: i32,
        output: &Proxy<WlOutput>,
        implementor: F
    ) -> Result<Proxy<ZwlrScreencopyFrameV1>, ()>
    where
        F: FnOnce(NewProxy<ZwlrScreencopyFrameV1>) -> Proxy<ZwlrScreencopyFrameV1>
;
fn capture_output_region<F>(
        &self,
        overlay_cursor: i32,
        output: &Proxy<WlOutput>,
        x: i32,
        y: i32,
        width: i32,
        height: i32,
        implementor: F
    ) -> Result<Proxy<ZwlrScreencopyFrameV1>, ()>
    where
        F: FnOnce(NewProxy<ZwlrScreencopyFrameV1>) -> Proxy<ZwlrScreencopyFrameV1>
;
fn destroy(&self); }

Required methods

fn capture_output<F>(
    &self,
    overlay_cursor: i32,
    output: &Proxy<WlOutput>,
    implementor: F
) -> Result<Proxy<ZwlrScreencopyFrameV1>, ()> where
    F: FnOnce(NewProxy<ZwlrScreencopyFrameV1>) -> Proxy<ZwlrScreencopyFrameV1>, 

capture an output

Capture the next frame of an entire output.

fn capture_output_region<F>(
    &self,
    overlay_cursor: i32,
    output: &Proxy<WlOutput>,
    x: i32,
    y: i32,
    width: i32,
    height: i32,
    implementor: F
) -> Result<Proxy<ZwlrScreencopyFrameV1>, ()> where
    F: FnOnce(NewProxy<ZwlrScreencopyFrameV1>) -> Proxy<ZwlrScreencopyFrameV1>, 

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.

fn destroy(&self)

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, you cannot send requests to this object any longer once this method is called.

Loading content...

Implementations on Foreign Types

impl RequestsTrait for Proxy<ZwlrScreencopyManagerV1>[src]

Loading content...

Implementors

Loading content...