pub struct Vector<T> { /* private fields */ }Expand description
A path that holds an embedding, and how wide it is.
A third type rather than another kind on Path, for the same reason
Ordered is a second one: what a path can be asked is decided when the
type is written. Docs::near takes one of these and nothing else, so
asking an equality index for the nearest anything is a type error at the call
site, and so is handing a vector path to Docs::find.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for Vector<T>
impl<T> RefUnwindSafe for Vector<T>
impl<T> Send for Vector<T>
impl<T> Sync for Vector<T>
impl<T> Unpin for Vector<T>
impl<T> UnsafeUnpin for Vector<T>
impl<T> UnwindSafe for Vector<T>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more