pub enum CellShape {
Orthorhombic,
Triclinic,
Infinite,
}
Expand description
Available unit cell shapes.
Variants§
Orthorhombic
Orthorhombic cell, with the three angles equals to 90°.
Triclinic
Triclinic cell, with any values for the angles.
Infinite
Infinite cell, to use when there is no cell.
Trait Implementations§
source§impl From<CellShape> for chfl_cellshape
impl From<CellShape> for chfl_cellshape
source§fn from(celltype: CellShape) -> chfl_cellshape
fn from(celltype: CellShape) -> chfl_cellshape
Converts to this type from the input type.
source§impl From<chfl_cellshape> for CellShape
impl From<chfl_cellshape> for CellShape
source§fn from(celltype: chfl_cellshape) -> CellShape
fn from(celltype: chfl_cellshape) -> CellShape
Converts to this type from the input type.
source§impl PartialEq for CellShape
impl PartialEq for CellShape
impl Eq for CellShape
impl StructuralPartialEq for CellShape
Auto Trait Implementations§
impl RefUnwindSafe for CellShape
impl Send for CellShape
impl Sync for CellShape
impl Unpin for CellShape
impl UnwindSafe for CellShape
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