pub struct ScannRoutingLevel {
pub centroid_count: u32,
pub centroid_codes: Vec<u8>,
pub minimums: Vec<f32>,
pub steps: Vec<f32>,
pub child_offsets: Vec<u32>,
}Expand description
One routing centroid level. Float centroids are stored as per-dimension
fixed-point bytes with minimums and steps; binary centroids are their
exact packed bytes and leave both quantization vectors empty.
Fields§
§centroid_count: u32§centroid_codes: Vec<u8>§minimums: Vec<f32>§steps: Vec<f32>§child_offsets: Vec<u32>CSR offsets from this level into the next. Empty only on the leaf level.
Trait Implementations§
Source§impl Clone for ScannRoutingLevel
impl Clone for ScannRoutingLevel
Source§impl Debug for ScannRoutingLevel
impl Debug for ScannRoutingLevel
Source§impl PartialEq for ScannRoutingLevel
impl PartialEq for ScannRoutingLevel
impl StructuralPartialEq for ScannRoutingLevel
Auto Trait Implementations§
impl Freeze for ScannRoutingLevel
impl RefUnwindSafe for ScannRoutingLevel
impl Send for ScannRoutingLevel
impl Sync for ScannRoutingLevel
impl Unpin for ScannRoutingLevel
impl UnsafeUnpin for ScannRoutingLevel
impl UnwindSafe for ScannRoutingLevel
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> DropFlavorWrapper<T> for T
impl<T> DropFlavorWrapper<T> for T
impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<T, W> HasTypeWitness<W> for Twhere
W: MakeTypeWitness<Arg = T>,
T: ?Sized,
impl<T, W> HasTypeWitness<W> for Twhere
W: MakeTypeWitness<Arg = T>,
T: ?Sized,
Source§impl<T> Identity for Twhere
T: ?Sized,
impl<T> Identity for Twhere
T: ?Sized,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
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