pub struct VectorDimension(/* private fields */);Expand description
A validated positive vector dimension.
Implementations§
Trait Implementations§
Source§impl Clone for VectorDimension
impl Clone for VectorDimension
impl Copy for VectorDimension
Source§impl Debug for VectorDimension
impl Debug for VectorDimension
Source§impl Display for VectorDimension
impl Display for VectorDimension
impl Eq for VectorDimension
Source§impl Hash for VectorDimension
impl Hash for VectorDimension
Source§impl Ord for VectorDimension
impl Ord for VectorDimension
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 VectorDimension
impl PartialEq for VectorDimension
Source§impl PartialOrd for VectorDimension
impl PartialOrd for VectorDimension
impl StructuralPartialEq for VectorDimension
Auto Trait Implementations§
impl Freeze for VectorDimension
impl RefUnwindSafe for VectorDimension
impl Send for VectorDimension
impl Sync for VectorDimension
impl Unpin for VectorDimension
impl UnsafeUnpin for VectorDimension
impl UnwindSafe for VectorDimension
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