pub struct MoveCommand {
pub pos: (f32, f32),
pub end_pos: Option<(f32, f32)>,
}
Fields§
§pos: (f32, f32)
§end_pos: Option<(f32, f32)>
Trait Implementations§
Source§impl Clone for MoveCommand
impl Clone for MoveCommand
Source§fn clone(&self) -> MoveCommand
fn clone(&self) -> MoveCommand
Returns a copy of the value. Read more
1.0.0 · 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 MoveCommand
impl Debug for MoveCommand
Source§impl PartialEq for MoveCommand
impl PartialEq for MoveCommand
impl Copy for MoveCommand
impl StructuralPartialEq for MoveCommand
Auto Trait Implementations§
impl Freeze for MoveCommand
impl RefUnwindSafe for MoveCommand
impl Send for MoveCommand
impl Sync for MoveCommand
impl Unpin for MoveCommand
impl UnwindSafe for MoveCommand
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