pub struct HnswBuildStats {
pub records: usize,
pub distance_evaluations: usize,
pub directed_edges: usize,
pub maximum_level: u8,
}Expand description
Logical work reported by a deterministic graph build.
Fields§
§records: usize§distance_evaluations: usize§directed_edges: usize§maximum_level: u8Trait Implementations§
Source§impl Clone for HnswBuildStats
impl Clone for HnswBuildStats
Source§fn clone(&self) -> HnswBuildStats
fn clone(&self) -> HnswBuildStats
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 HnswBuildStats
impl Debug for HnswBuildStats
Source§impl Default for HnswBuildStats
impl Default for HnswBuildStats
Source§fn default() -> HnswBuildStats
fn default() -> HnswBuildStats
Returns the “default value” for a type. Read more
impl Eq for HnswBuildStats
Source§impl PartialEq for HnswBuildStats
impl PartialEq for HnswBuildStats
impl StructuralPartialEq for HnswBuildStats
Auto Trait Implementations§
impl Freeze for HnswBuildStats
impl RefUnwindSafe for HnswBuildStats
impl Send for HnswBuildStats
impl Sync for HnswBuildStats
impl Unpin for HnswBuildStats
impl UnsafeUnpin for HnswBuildStats
impl UnwindSafe for HnswBuildStats
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