Trait diffgeom::tensors::TensorIndex
[−]
[src]
pub trait TensorIndex: Variance { fn index_type() -> IndexType; }
Trait identifying a type as representing a tensor index. It is implemented
for CovariantIndex
and ContravariantIndex
.
Required Methods
fn index_type() -> IndexType
Implementors
impl TensorIndex for ContravariantIndex
impl TensorIndex for CovariantIndex