Struct wayland_protocols::wlr::unstable::screencopy::v1::client::zwlr_screencopy_frame_v1::ZwlrScreencopyFrameV1 [−][src]
pub struct ZwlrScreencopyFrameV1(_);
Implementations
copy the frame
Copy the frame to the supplied buffer. The buffer must have a the correct size, see zwlr_screencopy_frame_v1.buffer and zwlr_screencopy_frame_v1.linux_dmabuf. 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.
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.
Trait Implementations
Performs the conversion.
Pointer to the C representation of this interface
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl !RefUnwindSafe for ZwlrScreencopyFrameV1
impl Send for ZwlrScreencopyFrameV1
impl Sync for ZwlrScreencopyFrameV1
impl Unpin for ZwlrScreencopyFrameV1
impl !UnwindSafe for ZwlrScreencopyFrameV1
Blanket Implementations
Mutably borrows from an owned value. Read more