pub enum CoordinatorEvent {
OnDisplaysChanged {
added: Vec<Info>,
removed: Vec<DisplayId>,
},
OnVsync {
display_id: DisplayId,
timestamp: u64,
applied_config_stamp: ConfigStamp,
cookie: u64,
},
OnClientOwnershipChange {
has_ownership: bool,
},
}
Variants§
Implementations§
Source§impl CoordinatorEvent
impl CoordinatorEvent
pub fn into_on_displays_changed(self) -> Option<(Vec<Info>, Vec<DisplayId>)>
pub fn into_on_vsync(self) -> Option<(DisplayId, u64, ConfigStamp, u64)>
pub fn into_on_client_ownership_change(self) -> Option<bool>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CoordinatorEvent
impl RefUnwindSafe for CoordinatorEvent
impl Send for CoordinatorEvent
impl Sync for CoordinatorEvent
impl Unpin for CoordinatorEvent
impl UnwindSafe for CoordinatorEvent
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