pub struct LuaSimulationMoveCursorParams {
pub position: MapPosition,
pub speed: f64,
}Expand description
Move the cursor towards the given position at the given speed.
Fields§
§position: MapPosition§speed: f64Defaults to 0.2.
Trait Implementations§
Source§impl Clone for LuaSimulationMoveCursorParams
impl Clone for LuaSimulationMoveCursorParams
Source§fn clone(&self) -> LuaSimulationMoveCursorParams
fn clone(&self) -> LuaSimulationMoveCursorParams
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 LuaSimulationMoveCursorParams
impl Default for LuaSimulationMoveCursorParams
Source§fn default() -> LuaSimulationMoveCursorParams
fn default() -> LuaSimulationMoveCursorParams
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for LuaSimulationMoveCursorParams
impl RefUnwindSafe for LuaSimulationMoveCursorParams
impl Send for LuaSimulationMoveCursorParams
impl Sync for LuaSimulationMoveCursorParams
impl Unpin for LuaSimulationMoveCursorParams
impl UnsafeUnpin for LuaSimulationMoveCursorParams
impl UnwindSafe for LuaSimulationMoveCursorParams
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