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", so this trait is not object safe.

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,