Skip to main content

Vector

Trait Vector 

Source
pub trait Vector<F>:
    Zero
    + FiniteDimVectorSpace<Field = F>
    + NormedSpace<Field = F>
    + Index<usize>
    + IndexMut<usize>
    + Clone
where F: Float,
{ }
Expand description

Describes what vectors are.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl<T, F> Vector<F> for T
where F: Float, T: Zero + FiniteDimVectorSpace<Field = F> + NormedSpace<Field = F> + Index<usize> + IndexMut<usize> + Clone,