pub struct EmbeddingVectorShape { /* private fields */ }Implementations§
Source§impl EmbeddingVectorShape
impl EmbeddingVectorShape
pub const fn new(dimension: EmbeddingDimension) -> Self
pub const fn dimension(self) -> EmbeddingDimension
Trait Implementations§
Source§impl Clone for EmbeddingVectorShape
impl Clone for EmbeddingVectorShape
Source§fn clone(&self) -> EmbeddingVectorShape
fn clone(&self) -> EmbeddingVectorShape
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 EmbeddingVectorShape
impl Debug for EmbeddingVectorShape
Source§impl Hash for EmbeddingVectorShape
impl Hash for EmbeddingVectorShape
Source§impl Ord for EmbeddingVectorShape
impl Ord for EmbeddingVectorShape
Source§fn cmp(&self, other: &EmbeddingVectorShape) -> Ordering
fn cmp(&self, other: &EmbeddingVectorShape) -> Ordering
1.21.0 · 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
Source§impl PartialEq for EmbeddingVectorShape
impl PartialEq for EmbeddingVectorShape
Source§impl PartialOrd for EmbeddingVectorShape
impl PartialOrd for EmbeddingVectorShape
impl Copy for EmbeddingVectorShape
impl Eq for EmbeddingVectorShape
impl StructuralPartialEq for EmbeddingVectorShape
Auto Trait Implementations§
impl Freeze for EmbeddingVectorShape
impl RefUnwindSafe for EmbeddingVectorShape
impl Send for EmbeddingVectorShape
impl Sync for EmbeddingVectorShape
impl Unpin for EmbeddingVectorShape
impl UnsafeUnpin for EmbeddingVectorShape
impl UnwindSafe for EmbeddingVectorShape
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