#[repr(i32)]pub enum CageLabel {
Water = 0,
Hex = 1,
Cubic = 2,
Both = 3,
}Expand description
Per-atom cage membership. The four codes are disjoint.
assert_eq!(seams::CageLabel::Hex as i32, 1);Variants§
Water = 0
In neither cage.
Hex = 1
Hexagonal cage only.
Cubic = 2
Double-diamond cage only.
Both = 3
Both cages.
Trait Implementations§
impl Copy for CageLabel
impl Eq for CageLabel
impl StructuralPartialEq for CageLabel
Auto Trait Implementations§
impl Freeze for CageLabel
impl RefUnwindSafe for CageLabel
impl Send for CageLabel
impl Sync for CageLabel
impl Unpin for CageLabel
impl UnsafeUnpin for CageLabel
impl UnwindSafe for CageLabel
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