Trait VectorWithLengthMut

Source
pub trait VectorWithLengthMut<const LEN: usize>: VectorWithLength<LEN> { }
Expand description

A trait indicate that entity in case of mutable referencing it can be interpreted as such having specified length LEN.

This trait defines a constant LEN, representing the length of the entity.

Implementations on Foreign Types§

Source§

impl<T, const LEN: usize> VectorWithLengthMut<LEN> for &T

Implementation of VectorWithLengthMut for references to entities.

Source§

impl<T, const LEN: usize> VectorWithLengthMut<LEN> for &mut T

Implementation of VectorWithLengthMut for mutable references to entities.

Implementors§