pub trait Space {
    type Value: Clone;

    const DIM: usize;

    fn card(&self) -> Card;
fn contains(&self, val: &Self::Value) -> bool; }
Expand description

Trait for defining geometric spaces.

Associated Types

The data representation of elements of the space.

Associated Constants

The dimensionality of the space.

Required methods

Return the number of elements in the set comprising the space.

Returns true iff val is contained within the space.

Implementations on Foreign Types

Implementors