pub struct Vector2<K> { /* private fields */ }Implementations§
Trait Implementations§
Source§impl<K: Ord> Ord for Vector2<K>
impl<K: Ord> Ord for Vector2<K>
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<K: PartialOrd> PartialOrd for Vector2<K>
impl<K: PartialOrd> PartialOrd for Vector2<K>
impl<K: Copy> Copy for Vector2<K>
impl<K: Eq> Eq for Vector2<K>
impl<K> StructuralPartialEq for Vector2<K>
Auto Trait Implementations§
impl<K> Freeze for Vector2<K>where
K: Freeze,
impl<K> RefUnwindSafe for Vector2<K>where
K: RefUnwindSafe,
impl<K> Send for Vector2<K>where
K: Send,
impl<K> Sync for Vector2<K>where
K: Sync,
impl<K> Unpin for Vector2<K>where
K: Unpin,
impl<K> UnsafeUnpin for Vector2<K>where
K: UnsafeUnpin,
impl<K> UnwindSafe for Vector2<K>where
K: UnwindSafe,
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