pub struct Normalized(/* private fields */);Expand description
Typestate marker indicating that an EmbeddingVector has been L2-normalized
to unit length.
This marker cannot be constructed outside this module — it can only be created
by EmbeddingVector::normalize or the trust-caller constructor
EmbeddingVector::<Normalized>::new_normalized.
Trait Implementations§
Source§impl Clone for Normalized
impl Clone for Normalized
Source§fn clone(&self) -> Normalized
fn clone(&self) -> Normalized
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 Normalized
impl Debug for Normalized
Source§impl PartialEq for Normalized
impl PartialEq for Normalized
impl Copy for Normalized
impl Eq for Normalized
impl StructuralPartialEq for Normalized
Auto Trait Implementations§
impl Freeze for Normalized
impl RefUnwindSafe for Normalized
impl Send for Normalized
impl Sync for Normalized
impl Unpin for Normalized
impl UnsafeUnpin for Normalized
impl UnwindSafe for Normalized
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