[][src]Enum vasp_poscar::Coords

pub enum Coords<T = Vec<[f64; 3]>> {
    Cart(T),
    Frac(T),
}

Represents data that can either be in direct units or cartesian.

Variants

Cart(T)
Frac(T)

Trait Implementations

impl<T: Clone> Clone for Coords<T>[src]

impl<T: Copy> Copy for Coords<T>[src]

impl<T: Debug> Debug for Coords<T>[src]

impl<T: Eq> Eq for Coords<T>[src]

impl<T: PartialEq> PartialEq<Coords<T>> for Coords<T>[src]

impl<Vs: ToN3<f64>> PositionsArgument for Coords<Vs>[src]

impl PositionsArgument for Coords<Zeroed>[src]

impl<T> StructuralEq for Coords<T>[src]

impl<T> StructuralPartialEq for Coords<T>[src]

impl<Vs: ToN3<f64>> VelocitiesArgument for Coords<Vs>[src]

impl VelocitiesArgument for Coords<Zeroed>[src]

Auto Trait Implementations

impl<T> RefUnwindSafe for Coords<T> where
    T: RefUnwindSafe

impl<T> Send for Coords<T> where
    T: Send

impl<T> Sync for Coords<T> where
    T: Sync

impl<T> Unpin for Coords<T> where
    T: Unpin

impl<T> UnwindSafe for Coords<T> where
    T: UnwindSafe

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.