pub enum Request {
Destroy,
Add {
x: i32,
y: i32,
width: i32,
height: i32,
},
Subtract {
x: i32,
y: i32,
width: i32,
height: i32,
},
}
Variants§
Destroy
destroy region
Destroy the region. This will invalidate the object ID.
Add
Fields
add rectangle to region
Add the specified rectangle to the region.
Subtract
Fields
subtract rectangle from region
Subtract the specified rectangle from the region.
Trait Implementations§
Auto Trait Implementations§
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