[][src]Struct discrete::Dimension

pub struct Dimension<T = Data>(_);

Dimension is natural number, position is the same as index.

Trait Implementations

impl<T> Construct for Dimension<T>[src]

impl Count<usize> for Dimension<Data>[src]

impl<T, U> Count<U> for Dimension<Of<T>> where
    T: Construct + Count<U>, 
[src]

impl ToIndex<usize, usize> for Dimension<Data>[src]

impl<T, U, V> ToIndex<U, V> for Dimension<Of<T>> where
    T: Construct + ToIndex<U, V>, 
[src]

impl ToPos<usize, usize> for Dimension<Data>[src]

impl<T, U, V> ToPos<U, V> for Dimension<Of<T>> where
    T: Construct + ToPos<U, V>, 
[src]

impl Zero<usize, usize> for Dimension<Data>[src]

impl<T, U, V> Zero<U, V> for Dimension<Of<T>> where
    T: Construct + Zero<U, V>, 
[src]

Auto Trait Implementations

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

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

Blanket Implementations

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

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

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.

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

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

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