pub struct Vector<T: Scalar>(/* private fields */);
Implementations§
Trait Implementations§
Source§impl<T: Scalar> From<PositionVector<T>> for Vector<T>
impl<T: Scalar> From<PositionVector<T>> for Vector<T>
Source§fn from(from: PositionVector<T>) -> Self
fn from(from: PositionVector<T>) -> Self
Converts to this type from the input type.
Source§impl<T: Scalar> From<RelativeVector<T>> for Vector<T>
impl<T: Scalar> From<RelativeVector<T>> for Vector<T>
Source§fn from(from: RelativeVector<T>) -> Self
fn from(from: RelativeVector<T>) -> Self
Converts to this type from the input type.
Source§impl<T: Scalar> From<Vector<T>> for PositionVector<T>
impl<T: Scalar> From<Vector<T>> for PositionVector<T>
Source§fn from(original: Vector<T>) -> PositionVector<T>
fn from(original: Vector<T>) -> PositionVector<T>
Converts to this type from the input type.
Source§impl<T: Scalar> From<Vector<T>> for RelativeVector<T>
impl<T: Scalar> From<Vector<T>> for RelativeVector<T>
Source§fn from(original: Vector<T>) -> RelativeVector<T>
fn from(original: Vector<T>) -> RelativeVector<T>
Converts to this type from the input type.
impl<T: Copy + Scalar> Copy for Vector<T>
impl<T: IntScalar> Eq for Vector<T>
impl<T: Scalar> StructuralPartialEq for Vector<T>
Auto Trait Implementations§
impl<T> Freeze for Vector<T>where
T: Freeze,
impl<T> RefUnwindSafe for Vector<T>where
T: RefUnwindSafe,
impl<T> Send for Vector<T>where
T: Send,
impl<T> Sync for Vector<T>where
T: Sync,
impl<T> Unpin for Vector<T>where
T: Unpin,
impl<T> UnwindSafe for Vector<T>where
T: 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