Struct discrete::Dimension [] [src]

pub struct Dimension<T>(_);

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

Trait Implementations

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

Constructs a new Self.

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

Counts the size of space given the dimensions.

impl<T, U> Count<(usize, U)> for Dimension<Subspace<T>> where T: Construct + Count<U>
[src]

Counts the size of space given the dimensions.

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

Counts the size of space given the dimensions.

impl ToIndex<usizeusize> for Dimension<Data>
[src]

Converts position to index.

impl<T, U: Copy, V> ToIndex<(usize, U)(usize, V)> for Dimension<Subspace<T>> where T: Construct + Count<U> + ToIndex<U, V>
[src]

Converts position to index.

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

Converts position to index.

impl ToPos<usizeusize> for Dimension<Data>
[src]

Converts index to position.

impl<T, U: Copy, V> ToPos<(usize, U)(usize, V)> for Dimension<Subspace<T>> where T: Construct + Count<U> + ToPos<U, V>
[src]

Converts index to position.

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

Converts index to position.