pub struct LuaSimulationControlPressParams {
pub control: String,
pub notify: bool,
}Expand description
Send a control down and up event at the current cursor position. This is equivalent to calling LuaSimulation::control_down, then LuaSimulation::control_up.
Fields§
§control: StringThe name of the control input to press and release.
notify: boolWhether to show flying text of the activated control.
Trait Implementations§
Source§impl Clone for LuaSimulationControlPressParams
impl Clone for LuaSimulationControlPressParams
Source§fn clone(&self) -> LuaSimulationControlPressParams
fn clone(&self) -> LuaSimulationControlPressParams
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for LuaSimulationControlPressParams
impl Default for LuaSimulationControlPressParams
Source§fn default() -> LuaSimulationControlPressParams
fn default() -> LuaSimulationControlPressParams
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for LuaSimulationControlPressParams
impl RefUnwindSafe for LuaSimulationControlPressParams
impl Send for LuaSimulationControlPressParams
impl Sync for LuaSimulationControlPressParams
impl Unpin for LuaSimulationControlPressParams
impl UnsafeUnpin for LuaSimulationControlPressParams
impl UnwindSafe for LuaSimulationControlPressParams
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