[−][src]Trait wayland_protocols::wlr::unstable::screencopy::v1::client::zwlr_screencopy_frame_v1::RequestsTrait
Required methods
fn copy(&self, buffer: &Proxy<WlBuffer>)
copy the frame
Copy the frame to the supplied buffer. The buffer must have a the correct size, see zwlr_screencopy_frame_v1.buffer. The buffer needs to have a supported format.
If the frame is successfully copied, a "flags" and a "ready" events are sent. Otherwise, a "failed" event is sent.
fn destroy(&self)
delete this object, used or not
Destroys the frame. This request can be sent at any time by the client.
This is a destructor, you cannot send requests to this object any longer once this method is called.