wlr:: unstable:: screencopy:: v1:: client:: zwlr_screencopy_frame_v1:: ZwlrScreencopyFrameV1
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.
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.
pub fn copy_with_damage(&self, buffer: &WlBuffer)[src]
copy the frame when it's damaged
Same as copy, except it waits until there is damage to copy.
Only available since version 2 of the interface.
impl AsRef<Proxy<ZwlrScreencopyFrameV1>> for ZwlrScreencopyFrameV1[src]
impl Clone for ZwlrScreencopyFrameV1[src]
impl Eq for ZwlrScreencopyFrameV1[src]
impl From<Proxy<ZwlrScreencopyFrameV1>> for ZwlrScreencopyFrameV1[src]
impl From<ZwlrScreencopyFrameV1> for Proxy<ZwlrScreencopyFrameV1>[src]
impl Interface for ZwlrScreencopyFrameV1[src]
Set of requests associated to this interface Read more
Set of events associated to this interface Read more
fn c_interface() -> *const wl_interface[src]
fn eq(&self, other: &ZwlrScreencopyFrameV1) -> bool[src]
fn ne(&self, other: &ZwlrScreencopyFrameV1) -> bool[src]
impl StructuralEq for ZwlrScreencopyFrameV1[src]
impl !RefUnwindSafe for ZwlrScreencopyFrameV1
impl Send for ZwlrScreencopyFrameV1
impl Sync for ZwlrScreencopyFrameV1
impl Unpin for ZwlrScreencopyFrameV1
impl !UnwindSafe for ZwlrScreencopyFrameV1
impl<T> Downcast for T where
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any + 'static>
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
type Owned = T
The resulting type after obtaining ownership.
fn clone_into(&self, target: &mut T)[src]
type Error = Infallible
The type returned in the event of a conversion error.