pub enum Request {
SetFrame {
type_: u32,
},
SetParent {
parent: ObjectId,
x: i32,
y: i32,
},
SetFrameColors {
active_color: u32,
inactive_color: u32,
},
SetStartupId {
startup_id: String,
},
SetApplicationId {
application_id: String,
},
SetClientSurfaceId {
client_surface_id: i32,
},
SetOcclusionTracking,
UnsetOcclusionTracking,
}
Variants§
SetFrame
request a frame for surface
Suggests a surface should use a specific frame.
SetParent
set the parent of this surface
Set the “parent” of this surface. “x” and “y” arguments specify the initial position for surface relative to parent.
SetFrameColors
set the frame colors of this surface
Set the frame colors.
Fields
SetStartupId
set the startup ID of this surface
Set the startup ID.
SetApplicationId
set the application ID of this surface
Set the application ID.
SetClientSurfaceId
set the client surface ID of this surface
Set the identifier of the surface assigned by the client.
SetOcclusionTracking
set tracked occlusion region
Sets occlusion tracking on this surface. The client will be updated with a new occlusion fraction when the amount of occlusion of this surface changes.
UnsetOcclusionTracking
unset tracked occlusion region
Unsets occlusion tracking for this surface.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Request
impl RefUnwindSafe for Request
impl Send for Request
impl Sync for Request
impl Unpin for Request
impl UnwindSafe for Request
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more