[−][src]Struct rgx::math::algebra::Vector4
4D vector.
Fields
x: S
y: S
z: S
w: S
Methods
impl<S> Vector4<S>
[src]
Trait Implementations
impl<S> Add<Vector4<S>> for Vector4<S> where
S: Add<Output = S> + Copy,
[src]
S: Add<Output = S> + Copy,
type Output = Self
The resulting type after applying the +
operator.
fn add(self, other: Vector4<S>) -> Self
[src]
impl<S: Clone> Clone for Vector4<S>
[src]
impl<S: Copy> Copy for Vector4<S>
[src]
impl<S: Debug> Debug for Vector4<S>
[src]
impl<S: Eq> Eq for Vector4<S>
[src]
impl<T: Copy> From<[T; 4]> for Vector4<T>
[src]
impl From<Vector4<f32>> for [f32; 4]
[src]
impl<S: Hash> Hash for Vector4<S>
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl<S> Mul<S> for Vector4<S> where
S: Mul<Output = S> + Copy,
[src]
S: Mul<Output = S> + Copy,
impl<S> Mul<Vector4<S>> for Vector4<S> where
S: Mul<Output = S> + Add<Output = S> + Copy,
[src]
S: Mul<Output = S> + Add<Output = S> + Copy,
type Output = S
The resulting type after applying the *
operator.
fn mul(self, other: Vector4<S>) -> S
[src]
impl<S: PartialEq> PartialEq<Vector4<S>> for Vector4<S>
[src]
impl<S> StructuralEq for Vector4<S>
[src]
impl<S> StructuralPartialEq for Vector4<S>
[src]
Auto Trait Implementations
impl<S> RefUnwindSafe for Vector4<S> where
S: RefUnwindSafe,
S: RefUnwindSafe,
impl<S> Send for Vector4<S> where
S: Send,
S: Send,
impl<S> Sync for Vector4<S> where
S: Sync,
S: Sync,
impl<S> Unpin for Vector4<S> where
S: Unpin,
S: Unpin,
impl<S> UnwindSafe for Vector4<S> where
S: UnwindSafe,
S: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
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> From<T> for T
[src]
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, 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>,