pub struct LuaPlayerDragWireParams {
pub position: MapPosition,
}Expand description
Start/end wire dragging at the specified location, wire type is based on the cursor contents
Fields§
§position: MapPositionPosition at which cursor was clicked. Used only to decide which side of arithmetic combinator, decider combinator or power switch is to be connected. Entity itself to be connected is based on the player’s selected entity.
Trait Implementations§
Source§impl Clone for LuaPlayerDragWireParams
impl Clone for LuaPlayerDragWireParams
Source§fn clone(&self) -> LuaPlayerDragWireParams
fn clone(&self) -> LuaPlayerDragWireParams
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 Debug for LuaPlayerDragWireParams
impl Debug for LuaPlayerDragWireParams
Source§impl Default for LuaPlayerDragWireParams
impl Default for LuaPlayerDragWireParams
Source§fn default() -> LuaPlayerDragWireParams
fn default() -> LuaPlayerDragWireParams
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for LuaPlayerDragWireParams
impl RefUnwindSafe for LuaPlayerDragWireParams
impl Send for LuaPlayerDragWireParams
impl Sync for LuaPlayerDragWireParams
impl Unpin for LuaPlayerDragWireParams
impl UnsafeUnpin for LuaPlayerDragWireParams
impl UnwindSafe for LuaPlayerDragWireParams
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