pub struct VectorView<'a, T, const M: usize, const N: usize> { /* fields omitted */ }
impl<'a, 'b, T: 'a + 'b, const M: usize, const N: usize> VectorView<'a, T, M, N> where
&'a T: Mul<&'b T, Output = T>,
T: Sum,
pub fn dot(self, other: &'b Vector<T, M>) -> T
impl<'a, 'b, T, B: 'b, const N: usize, const M: usize> Add<B> for VectorView<'a, T, N, M> where
&'a T: Add<&'b T, Output = T>,
B: ConstIndex<&'b T, N> + Copy + Clone,
T: 'a + 'b,
The resulting type after applying the +
operator.
default fn add(self, other: B) -> Vector<T, N>
Performs copy-assignment from source
. Read more
impl<'a, T, const M: usize, const N: usize> ConstIndex<VectorView<'a, T, M, N>, N> for TransposedMatrixView<'a, T, M, N>
Formats the value using the given formatter. Read more
impl<'a, 'b, T, B: 'b, const N: usize, const M: usize> Div<B> for VectorView<'a, T, N, M> where
&'a T: Div<&'b T, Output = T>,
B: ConstIndex<&'b T, N> + Copy + Clone,
T: 'a + 'b,
The resulting type after applying the /
operator.
default fn div(self, other: B) -> Vector<T, N>
The type of the elements being iterated over.
Which kind of iterator are we turning this into?
impl<'a, 'b, T, B: 'b, const N: usize, const M: usize> Mul<B> for VectorView<'a, T, N, M> where
&'a T: Mul<&'b T, Output = T>,
B: ConstIndex<&'b T, N> + Copy + Clone,
T: 'a + 'b,
The resulting type after applying the *
operator.
default fn mul(self, other: B) -> Vector<T, N>
impl<'a, 'b, T, B: 'b, const N: usize, const M: usize> Sub<B> for VectorView<'a, T, N, M> where
&'a T: Sub<&'b T, Output = T>,
B: ConstIndex<&'b T, N> + Copy + Clone,
T: 'a + 'b,
The resulting type after applying the -
operator.
default fn sub(self, other: B) -> Vector<T, N>
impl<T> Any for T where
T: 'static + ?Sized,
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
impl<T, U> Into<U> for T where
U: From<T>,
The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
The type returned in the event of a conversion error.
impl<V, T> VZip<V> for T where
V: MultiLane<T>,