word_vec_rs/
as_vector.rs

1use crate::vector::Vector;
2
3/// Trait to borrow any type as Vector.
4pub trait AsVectorRef<'v, 't> {
5    fn as_vec_ref(&self) -> Vector<'v, 't>;
6}