pub enum EventModel {
Fps(u64),
Blocking,
NonBlocking,
}Expand description
The type of events to listen for.
Variants§
Fps(u64)
Generate a tick every N milliseconds
Blocking
Block until an event is raised
NonBlocking
Non blocking
Auto Trait Implementations§
impl Freeze for EventModel
impl RefUnwindSafe for EventModel
impl Send for EventModel
impl Sync for EventModel
impl Unpin for EventModel
impl UnwindSafe for EventModel
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