pub trait VectorWithLength<const LEN: usize> { }Expand description
A trait indicate that entity in case of 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§
impl<T, const LEN: usize> VectorWithLength<LEN> for &Twhere
T: VectorWithLength<LEN>,
Implementation of VectorWithLength for references to entities.
impl<T, const LEN: usize> VectorWithLength<LEN> for &mut Twhere
T: VectorWithLength<LEN>,
Implementation of VectorWithLength for mutable references to entities.