Struct EmbeddingVectorShape
pub struct EmbeddingVectorShape { /* private fields */ }Implementations§
§impl EmbeddingVectorShape
impl EmbeddingVectorShape
pub const fn new(dimension: EmbeddingDimension) -> EmbeddingVectorShape
pub const fn dimension(self) -> EmbeddingDimension
Trait Implementations§
§impl Clone for EmbeddingVectorShape
impl Clone for EmbeddingVectorShape
§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 more§impl Debug for EmbeddingVectorShape
impl Debug for EmbeddingVectorShape
§impl Hash for EmbeddingVectorShape
impl Hash for EmbeddingVectorShape
§impl Ord for EmbeddingVectorShape
impl Ord for EmbeddingVectorShape
§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
§impl PartialEq for EmbeddingVectorShape
impl PartialEq for EmbeddingVectorShape
§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