Enum wayland_protocols::wlr::unstable::screencopy::v1::client::zwlr_screencopy_manager_v1::Request [−][src]
#[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)
This enum is marked as non-exhaustive
CaptureOutput
capture an output
Capture the next frame of an entire output.
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.
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
Wire representation of this MessageGroup
The wrapper type for ObjectMap allowing the mapping of Object and NewId arguments to the object map during parsing. Read more
Whether this message is a destructor Read more
Retrieve the child Object
associated with this message if any
Construct a message from its raw representation
unsafe fn from_raw_c(
obj: *mut c_void,
opcode: u32,
args: *const wl_argument
) -> Result<Request, ()>
unsafe fn from_raw_c(
obj: *mut c_void,
opcode: u32,
args: *const wl_argument
) -> Result<Request, ()>
Construct a message of this group from its C representation Read more
Build a C representation of this message Read more