pub enum Event {
Enter {
output: ObjectId,
},
Leave {
output: ObjectId,
},
}
Variants§
Enter
surface enters an output
This is emitted whenever a surface’s creation, movement, or resizing results in some part of it being within the scanout region of an output.
Note that a surface may be overlapping with zero or more outputs.
Fields
§
output: ObjectId
output entered by the surface
Leave
surface leaves an output
This is emitted whenever a surface’s creation, movement, or resizing results in it no longer having any part of it within the scanout region of an output.
Fields
§
output: ObjectId
output left by the surface
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Event
impl RefUnwindSafe for Event
impl Send for Event
impl Sync for Event
impl Unpin for Event
impl UnwindSafe for Event
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