#[non_exhaustive]pub enum Planned {
Events(Vec<RawInputEvent>),
Idle(u32),
}Expand description
Frames of a script’s plan.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Events(Vec<RawInputEvent>)
One frame with these events, in order.
Idle(u32)
That many frames with no input.
Trait Implementations§
impl StructuralPartialEq for Planned
Auto Trait Implementations§
impl Freeze for Planned
impl RefUnwindSafe for Planned
impl Send for Planned
impl Sync for Planned
impl Unpin for Planned
impl UnsafeUnpin for Planned
impl UnwindSafe for Planned
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