word_vec-rs 0.1.1

Memory efficient library to work with word2vec vectors
Documentation
1
2
3
4
5
6
use crate::vector::Vector;

/// Trait to borrow any type as Vector.
pub trait AsVectorRef<'v, 't> {
    fn as_vec_ref(&self) -> Vector<'v, 't>;
}