pub struct CageCounts {
pub hexagonal: i32,
pub cubic: i32,
pub water: i32,
pub both: i32,
}Expand description
Disjoint cage populations.
let counts = seams::CageCounts { hexagonal: 1, cubic: 0, water: 2, both: 0 };
assert_eq!(counts.hexagonal, 1);Fields§
§hexagonal: i32Hexagonal cage only.
cubic: i32Double-diamond cage only.
water: i32Neither cage.
both: i32Both cages.
Trait Implementations§
Source§impl Clone for CageCounts
impl Clone for CageCounts
impl Copy for CageCounts
Source§impl Debug for CageCounts
impl Debug for CageCounts
Source§impl Default for CageCounts
impl Default for CageCounts
impl Eq for CageCounts
Source§impl PartialEq for CageCounts
impl PartialEq for CageCounts
impl StructuralPartialEq for CageCounts
Auto Trait Implementations§
impl Freeze for CageCounts
impl RefUnwindSafe for CageCounts
impl Send for CageCounts
impl Sync for CageCounts
impl Unpin for CageCounts
impl UnsafeUnpin for CageCounts
impl UnwindSafe for CageCounts
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