Trait acap::coords::Coordinates[][src]

pub trait Coordinates {
    type Value: Value;
    fn dims(&self) -> usize;
fn coord(&self, i: usize) -> Self::Value; fn as_vec(&self) -> Vec<Self::Value> { ... } }
Expand description

A coordinate space.

Associated Types

The type of individual coordinates.

Required methods

Get the number of dims this point has.

Get the ith coordinate of this point.

Provided methods

Create a vector with this point’s coordinates as values.

Implementations on Foreign Types

Coordinates implementation for slices.

Coordinates implemention for vectors.

Blanket Coordinates implementation for references.

Implementors