1 2 3 4 5
/// Implemented for spaces which can convert an index to position type. pub trait ToPos<T, U> { /// Converts index to position. fn to_pos(&self, dim: &T, index: usize, pos: &mut U); }
1 2 3 4 5
/// Implemented for spaces which can convert an index to position type. pub trait ToPos<T, U> { /// Converts index to position. fn to_pos(&self, dim: &T, index: usize, pos: &mut U); }