Enum chemfiles::CellShape[][src]

pub enum CellShape {
    Orthorhombic,
    Triclinic,
    Infinite,
}

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

impl Clone for CellShape[src]

impl Debug for CellShape[src]

impl From<CellShape> for chfl_cellshape[src]

impl From<chfl_cellshape> for CellShape[src]

impl PartialEq<CellShape> for CellShape[src]

impl Eq for CellShape[src]

impl StructuralEq for CellShape[src]

impl StructuralPartialEq for CellShape[src]

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

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.