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
add rectangle to region
Add the specified rectangle to the region.
Fields
Subtract
subtract rectangle from region
Subtract the specified rectangle from the region.
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