pub struct NormUnit {
pub unit_id: String,
pub model_count: u64,
pub is_warlord: bool,
pub enhancement_id: Option<String>,
pub leader_bodyguard_id: Option<String>,
pub counts: HashMap<String, i64>,
}Expand description
One unit in the normalised roster the core checker consumes.
Fields§
§unit_id: String§model_count: u64§is_warlord: bool§enhancement_id: Option<String>§leader_bodyguard_id: Option<String>§counts: HashMap<String, i64>Trait Implementations§
Auto Trait Implementations§
impl Freeze for NormUnit
impl RefUnwindSafe for NormUnit
impl Send for NormUnit
impl Sync for NormUnit
impl Unpin for NormUnit
impl UnsafeUnpin for NormUnit
impl UnwindSafe for NormUnit
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