pub struct PlacedUnit {
pub unit_type: UnitType,
pub position: Coord,
}Fields§
§unit_type: UnitType§position: CoordTrait Implementations§
Source§impl Clone for PlacedUnit
impl Clone for PlacedUnit
Source§fn clone(&self) -> PlacedUnit
fn clone(&self) -> PlacedUnit
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 PlacedUnit
impl Debug for PlacedUnit
Source§impl PartialEq for PlacedUnit
impl PartialEq for PlacedUnit
impl Copy for PlacedUnit
impl Eq for PlacedUnit
impl StructuralPartialEq for PlacedUnit
Auto Trait Implementations§
impl Freeze for PlacedUnit
impl RefUnwindSafe for PlacedUnit
impl Send for PlacedUnit
impl Sync for PlacedUnit
impl Unpin for PlacedUnit
impl UnwindSafe for PlacedUnit
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