[−][src]Struct posrel::RelativeVector
Trait Implementations
impl<T: Copy + Scalar> Copy for RelativeVector<T>
[src]
impl<T: Clone + Scalar> Clone for RelativeVector<T>
[src]
fn clone(&self) -> RelativeVector<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<RelativeVector<T>> for RelativeVector<T>
[src]
fn eq(&self, other: &RelativeVector<T>) -> bool
[src]
fn ne(&self, other: &RelativeVector<T>) -> bool
[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: Debug + Scalar> Debug for RelativeVector<T>
[src]
impl<T: Scalar> Display for RelativeVector<T>
[src]
impl<T: Scalar> Add<RelativeVector<T>> for PositionVector<T>
[src]
type Output = Self
The resulting type after applying the +
operator.
fn add(self, other: RelativeVector<T>) -> Self
[src]
impl<T: Scalar> Add<RelativeVector<T>> for RelativeVector<T>
[src]
type Output = Self
The resulting type after applying the +
operator.
fn add(self, other: Self) -> Self
[src]
impl<T: Scalar> Add<PositionVector<T>> for RelativeVector<T>
[src]
type Output = PositionVector<T>
The resulting type after applying the +
operator.
fn add(self, other: PositionVector<T>) -> Self::Output
[src]
impl<T: Scalar> Sub<RelativeVector<T>> for PositionVector<T>
[src]
type Output = Self
The resulting type after applying the -
operator.
fn sub(self, other: RelativeVector<T>) -> Self
[src]
impl<T: Scalar> Sub<RelativeVector<T>> for RelativeVector<T>
[src]
type Output = Self
The resulting type after applying the -
operator.
fn sub(self, other: Self) -> Self
[src]
impl<T: Scalar> Sub<PositionVector<T>> for RelativeVector<T>
[src]
type Output = PositionVector<T>
The resulting type after applying the -
operator.
fn sub(self, other: PositionVector<T>) -> Self::Output
[src]
impl<T: Scalar> Mul<T> for RelativeVector<T>
[src]
type Output = Self
The resulting type after applying the *
operator.
fn mul(self, other: T) -> Self
[src]
impl<T: Scalar> Div<T> for RelativeVector<T>
[src]
type Output = Self
The resulting type after applying the /
operator.
fn div(self, other: T) -> Self
[src]
impl<T: Scalar + Neg<Output = T>> Neg for RelativeVector<T>
[src]
type Output = RelativeVector<T>
The resulting type after applying the -
operator.
fn neg(self) -> RelativeVector<T>
[src]
Auto Trait Implementations
impl<T> Sync for RelativeVector<T> where
T: Sync,
T: Sync,
impl<T> Unpin for RelativeVector<T> where
T: Unpin,
T: Unpin,
impl<T> Send for RelativeVector<T> where
T: Send,
T: Send,
impl<T> UnwindSafe for RelativeVector<T> where
T: UnwindSafe,
T: UnwindSafe,
impl<T> RefUnwindSafe for RelativeVector<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> From<T> for T
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
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,