pub struct VectorQuantizationScale(/* private fields */);Expand description
Positive finite scale for an i8 logical dense field. The canonical wire
form is the shortest Rust decimal spelling of the exact f32 value.
Implementations§
Trait Implementations§
Source§impl Clone for VectorQuantizationScale
impl Clone for VectorQuantizationScale
impl Copy for VectorQuantizationScale
Source§impl Debug for VectorQuantizationScale
impl Debug for VectorQuantizationScale
Source§impl<'de> Deserialize<'de> for VectorQuantizationScale
impl<'de> Deserialize<'de> for VectorQuantizationScale
Source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for VectorQuantizationScale
Source§impl Ord for VectorQuantizationScale
impl Ord for VectorQuantizationScale
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for VectorQuantizationScale
impl PartialEq for VectorQuantizationScale
Source§impl PartialOrd for VectorQuantizationScale
impl PartialOrd for VectorQuantizationScale
Source§impl Serialize for VectorQuantizationScale
impl Serialize for VectorQuantizationScale
impl StructuralPartialEq for VectorQuantizationScale
Auto Trait Implementations§
impl Freeze for VectorQuantizationScale
impl RefUnwindSafe for VectorQuantizationScale
impl Send for VectorQuantizationScale
impl Sync for VectorQuantizationScale
impl Unpin for VectorQuantizationScale
impl UnsafeUnpin for VectorQuantizationScale
impl UnwindSafe for VectorQuantizationScale
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