pub struct Turret {
pub id: Uuid,
pub kind: GameObjectKind,
pub owner_id: OwnerId,
pub energy: u32,
pub hex: Hex,
pub health: u32,
pub storage: Storage,
pub future_health: u32,
pub future_energy: u32,
}Fields§
§id: Uuid§kind: GameObjectKind§owner_id: OwnerId§energy: u32§hex: Hex§health: u32§storage: Storage§future_health: u32§future_energy: u32Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Turret
impl RefUnwindSafe for Turret
impl Send for Turret
impl Sync for Turret
impl Unpin for Turret
impl UnwindSafe for Turret
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