pub struct VectorDimension(/* private fields */);Expand description
A vector dimension count.
Implementations§
Trait Implementations§
Source§impl Clone for VectorDimension
impl Clone for VectorDimension
Source§fn clone(&self) -> VectorDimension
fn clone(&self) -> VectorDimension
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 VectorDimension
impl Debug for VectorDimension
Source§impl Default for VectorDimension
impl Default for VectorDimension
Source§fn default() -> VectorDimension
fn default() -> VectorDimension
Returns the “default value” for a type. Read more
Source§impl Display for VectorDimension
impl Display for VectorDimension
Source§impl Hash for VectorDimension
impl Hash for VectorDimension
Source§impl Ord for VectorDimension
impl Ord for VectorDimension
Source§fn cmp(&self, other: &VectorDimension) -> Ordering
fn cmp(&self, other: &VectorDimension) -> Ordering
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
Source§impl PartialEq for VectorDimension
impl PartialEq for VectorDimension
Source§fn eq(&self, other: &VectorDimension) -> bool
fn eq(&self, other: &VectorDimension) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for VectorDimension
impl PartialOrd for VectorDimension
impl Copy for VectorDimension
impl Eq 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