#[repr(i32)]pub enum RingSymmetry {
Unclassified = 0,
Ddc = 1,
HcBasal = 2,
HcPrismatic = 3,
BothBasal = 4,
BothPrismatic = 5,
Prism = 6,
DeformedPrism = 7,
MixedPrism = 8,
Pentagon = 9,
Hexagon = 10,
Other = 11,
}Expand description
Primitive-ring symmetry class.
assert_eq!(seams::ring_symmetry_name(seams::RingSymmetry::Hexagon), "hexagon");Variants§
Unclassified = 0
No class yet.
Ddc = 1
Double-diamond six-ring.
HcBasal = 2
Basal face of a hexagonal cage.
HcPrismatic = 3
Prismatic face of a hexagonal cage.
BothBasal = 4
Basal face of both cage types.
BothPrismatic = 5
Prismatic face of both cage types.
Prism = 6
Prismatic six-ring.
DeformedPrism = 7
Deformed prismatic six-ring.
MixedPrism = 8
Prism mixing the two cage types.
Pentagon = 9
Five-membered ring.
Hexagon = 10
Six-ring that is not a cage face.
Other = 11
Neither a pentagon nor a hexagon face.
Trait Implementations§
Source§impl Clone for RingSymmetry
impl Clone for RingSymmetry
impl Copy for RingSymmetry
Source§impl Debug for RingSymmetry
impl Debug for RingSymmetry
impl Eq for RingSymmetry
Source§impl PartialEq for RingSymmetry
impl PartialEq for RingSymmetry
impl StructuralPartialEq for RingSymmetry
Auto Trait Implementations§
impl Freeze for RingSymmetry
impl RefUnwindSafe for RingSymmetry
impl Send for RingSymmetry
impl Sync for RingSymmetry
impl Unpin for RingSymmetry
impl UnsafeUnpin for RingSymmetry
impl UnwindSafe for RingSymmetry
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