pub struct BruteForceIndex {
pub x_train: ArrayBase<OwnedRepr<f64>, Dim<[usize; 2]>>,
pub metric: Metric,
}Fields§
§x_train: ArrayBase<OwnedRepr<f64>, Dim<[usize; 2]>>§metric: MetricImplementations§
Trait Implementations§
Source§impl Clone for BruteForceIndex
impl Clone for BruteForceIndex
Source§fn clone(&self) -> BruteForceIndex
fn clone(&self) -> BruteForceIndex
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for BruteForceIndex
impl Debug for BruteForceIndex
Auto Trait Implementations§
impl Freeze for BruteForceIndex
impl RefUnwindSafe for BruteForceIndex
impl Send for BruteForceIndex
impl Sync for BruteForceIndex
impl Unpin for BruteForceIndex
impl UnwindSafe for BruteForceIndex
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