pub enum Action {
Send {
peer: MachineId,
body: Body,
},
Release(Vec<InputEvent>),
EndedDriven,
Cursor(Cursor),
Driven {
owner: MachineId,
landing: Option<Landing>,
resistance_px: u32,
},
}Expand description
Effects to execute in order. Releases precede accepting a replacement owner.
Variants§
Send
Release(Vec<InputEvent>)
EndedDriven
Cursor(Cursor)
Driven
A new remote owner; landing is absent for a stay re-arm.
Trait Implementations§
impl StructuralPartialEq for Action
Auto Trait Implementations§
impl Forget for Action
impl Freeze for Action
impl Move for Action
impl RefUnwindSafe for Action
impl Send for Action
impl Sync for Action
impl Unpin for Action
impl UnsafeUnpin for Action
impl UnwindSafe for Action
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