pub struct Vector<F>(/* private fields */);Expand description
Float Vector with approx_eq.
Implementations§
Trait Implementations§
source§impl<'a, M: Copy + Default, F: Copy + ApproxEq<Margin = M>> ApproxEq for &'a Vector<F>
impl<'a, M: Copy + Default, F: Copy + ApproxEq<Margin = M>> ApproxEq for &'a Vector<F>
§type Margin = M
type Margin = M
This type type defines a margin within which two values are to be
considered approximately equal. It must implement
Default so that
approx_eq() can be called on unknown types.source§impl<F: PartialOrd> PartialOrd for Vector<F>
impl<F: PartialOrd> PartialOrd for Vector<F>
impl<F: Copy> Copy for Vector<F>
impl<F> StructuralPartialEq for Vector<F>
Auto Trait Implementations§
impl<F> Freeze for Vector<F>where
F: Freeze,
impl<F> RefUnwindSafe for Vector<F>where
F: RefUnwindSafe,
impl<F> Send for Vector<F>where
F: Send,
impl<F> Sync for Vector<F>where
F: Sync,
impl<F> Unpin for Vector<F>where
F: Unpin,
impl<F> UnwindSafe for Vector<F>where
F: 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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)