[−][src]Struct posrel::Vector
Methods
impl<T: Scalar> Vector<T>
[src]
Trait Implementations
impl<T: Copy + Scalar> Copy for Vector<T>
[src]
impl<T: Clone + Scalar> Clone for Vector<T>
[src]
fn clone(&self) -> Vector<T>
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl<T: PartialEq + Scalar> PartialEq<Vector<T>> for Vector<T>
[src]
impl<T: Scalar> From<Vector<T>> for PositionVector<T>
[src]
fn from(original: Vector<T>) -> PositionVector<T>
[src]
impl<T: Scalar> From<PositionVector<T>> for Vector<T>
[src]
fn from(from: PositionVector<T>) -> Self
[src]
impl<T: Scalar> From<Vector<T>> for RelativeVector<T>
[src]
fn from(original: Vector<T>) -> RelativeVector<T>
[src]
impl<T: Scalar> From<RelativeVector<T>> for Vector<T>
[src]
fn from(from: RelativeVector<T>) -> Self
[src]
impl<T: IntScalar> Eq for Vector<T>
[src]
impl<T: Debug + Scalar> Debug for Vector<T>
[src]
impl<T: Scalar> Display for Vector<T>
[src]
impl<T: Scalar> Sub<Vector<T>> for Vector<T>
[src]
type Output = Self
The resulting type after applying the -
operator.
fn sub(self, other: Self) -> Self
[src]
impl<T: Scalar> Add<Vector<T>> for Vector<T>
[src]
type Output = Self
The resulting type after applying the +
operator.
fn add(self, other: Self) -> Self
[src]
impl<T: Scalar, U: Scalar> Mul<U> for Vector<T> where
T: Mul<U, Output = T>,
[src]
T: Mul<U, Output = T>,
type Output = Self
The resulting type after applying the *
operator.
fn mul(self, other: U) -> Self
[src]
impl<T: Scalar, U: Scalar> Div<U> for Vector<T> where
T: Div<U, Output = T>,
[src]
T: Div<U, Output = T>,
type Output = Self
The resulting type after applying the /
operator.
fn div(self, other: U) -> Self
[src]
impl<T: Scalar> Neg for Vector<T>
[src]
Auto Trait Implementations
impl<T> Sync for Vector<T> where
T: Sync,
T: Sync,
impl<T> Unpin for Vector<T> where
T: Unpin,
T: Unpin,
impl<T> Send for Vector<T> where
T: Send,
T: Send,
impl<T> UnwindSafe for Vector<T> where
T: UnwindSafe,
T: UnwindSafe,
impl<T> RefUnwindSafe for Vector<T> where
T: RefUnwindSafe,
T: RefUnwindSafe,
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,