pub struct HullPool {
pub current: u16,
pub max: u16,
}Expand description
Replicated state for a ship’s hull pool.
Fields§
§current: u16§max: u16Trait Implementations§
Source§impl<'de> Deserialize<'de> for HullPool
impl<'de> Deserialize<'de> for HullPool
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Copy for HullPool
Auto Trait Implementations§
impl Freeze for HullPool
impl RefUnwindSafe for HullPool
impl Send for HullPool
impl Sync for HullPool
impl Unpin for HullPool
impl UnsafeUnpin for HullPool
impl UnwindSafe for HullPool
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