Enum diffgeom::tensors::IndexType [] [src]

pub enum IndexType {
    Covariant,
    Contravariant,
}

This enum serves to represent the type of a tensor. A tensor can have any number of indices, and each one can be either covariant (a lower index), or contravariant (an upper index). For example, a vector is a tensor with only one contravariant index.

Variants

Trait Implementations

impl Clone for IndexType
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for IndexType
[src]

impl PartialEq for IndexType
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Debug for IndexType
[src]

Formats the value using the given formatter.