#[repr(C)]pub struct EnergyStation {
pub position: Position,
pub recovery_rate: u32,
pub energy: u32,
}Fields§
§position: Position§recovery_rate: u32§energy: u32Trait Implementations§
Auto Trait Implementations§
impl Freeze for EnergyStation
impl RefUnwindSafe for EnergyStation
impl Send for EnergyStation
impl Sync for EnergyStation
impl Unpin for EnergyStation
impl UnwindSafe for EnergyStation
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