pub struct FlatConfig;Expand description
Configuration for FlatIndex::new.
Unit struct: the flat index has no tunable knobs. It exists so
FlatIndex satisfies iqdb_index::Index’s associated
Config bound (Default + Clone), and so
future knobs (initial capacity, parallel chunk size) can land here
without changing the trait surface.
§Examples
use iqdb_flat::FlatConfig;
let config = FlatConfig;
let _cloned = config.clone();Trait Implementations§
Source§impl Clone for FlatConfig
impl Clone for FlatConfig
Source§fn clone(&self) -> FlatConfig
fn clone(&self) -> FlatConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 FlatConfig
impl Debug for FlatConfig
Source§impl Default for FlatConfig
impl Default for FlatConfig
Source§fn default() -> FlatConfig
fn default() -> FlatConfig
Returns the “default value” for a type. Read more
impl Eq for FlatConfig
Source§impl PartialEq for FlatConfig
impl PartialEq for FlatConfig
Source§fn eq(&self, other: &FlatConfig) -> bool
fn eq(&self, other: &FlatConfig) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for FlatConfig
Auto Trait Implementations§
impl Freeze for FlatConfig
impl RefUnwindSafe for FlatConfig
impl Send for FlatConfig
impl Sync for FlatConfig
impl Unpin for FlatConfig
impl UnsafeUnpin for FlatConfig
impl UnwindSafe for FlatConfig
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more