pub struct SpanBase<T, L: Copy> { /* private fields */ }Expand description
Multidimensional array span with static rank and element order.
Implementations
sourceimpl<T, L: Copy> SpanBase<T, L>
impl<T, L: Copy> SpanBase<T, L>
sourcepub fn as_mut_ptr(&mut self) -> *mut T
pub fn as_mut_ptr(&mut self) -> *mut T
Returns a mutable pointer to the array buffer.
sourcepub fn to_view_mut(&mut self) -> SubGridMut<'_, T, L>
pub fn to_view_mut(&mut self) -> SubGridMut<'_, T, L>
Returns a mutable array view of the entire array span.
sourceimpl<T, D: Dim, F: Format> SpanBase<T, Layout<D, F>>
impl<T, D: Dim, F: Format> SpanBase<T, Layout<D, F>>
sourcepub fn axis_iter<const DIM: usize>(
&self
) -> AxisIter<'_, T, Layout<D::Lower, <Const<DIM> as Axis<D>>::Remove<F>>>ⓘNotable traits for AxisIter<'a, T, L>impl<'a, T, L: Copy> Iterator for AxisIter<'a, T, L> type Item = SubGrid<'a, T, L>;where
Const<DIM>: Axis<D>,
pub fn axis_iter<const DIM: usize>(
&self
) -> AxisIter<'_, T, Layout<D::Lower, <Const<DIM> as Axis<D>>::Remove<F>>>ⓘNotable traits for AxisIter<'a, T, L>impl<'a, T, L: Copy> Iterator for AxisIter<'a, T, L> type Item = SubGrid<'a, T, L>;where
Const<DIM>: Axis<D>,
Returns an iterator that gives array views over the specified dimension.
When iterating over the outer dimension, both the unit inner stride and the uniform stride properties are maintained, and the resulting array views have the same format.
When iterating over the inner dimension, the uniform stride property is maintained but not unit inner stride, and the resulting array views have flat or strided format.
When iterating over the middle dimensions, the unit inner stride propery is maintained but not uniform stride, and the resulting array views have general or strided format.
sourcepub fn axis_iter_mut<const DIM: usize>(
&mut self
) -> AxisIterMut<'_, T, Layout<D::Lower, <Const<DIM> as Axis<D>>::Remove<F>>>ⓘNotable traits for AxisIterMut<'a, T, L>impl<'a, T, L: Copy> Iterator for AxisIterMut<'a, T, L> type Item = SubGridMut<'a, T, L>;where
Const<DIM>: Axis<D>,
pub fn axis_iter_mut<const DIM: usize>(
&mut self
) -> AxisIterMut<'_, T, Layout<D::Lower, <Const<DIM> as Axis<D>>::Remove<F>>>ⓘNotable traits for AxisIterMut<'a, T, L>impl<'a, T, L: Copy> Iterator for AxisIterMut<'a, T, L> type Item = SubGridMut<'a, T, L>;where
Const<DIM>: Axis<D>,
Returns a mutable iterator that gives array views over the specified dimension.
When iterating over the outer dimension, both the unit inner stride and the uniform stride properties are maintained, and the resulting array views have the same format.
When iterating over the inner dimension, the uniform stride property is maintained but not unit inner stride, and the resulting array views have flat or strided format.
When iterating over the middle dimensions, the unit inner stride propery is maintained but not uniform stride, and the resulting array views have general or strided format.
sourcepub fn fill(&mut self, value: impl Borrow<T>)where
T: Clone,
pub fn fill(&mut self, value: impl Borrow<T>)where
T: Clone,
Fills the array span with elements by cloning value.
sourcepub fn fill_with(&mut self, f: impl FnMut() -> T)
pub fn fill_with(&mut self, f: impl FnMut() -> T)
Fills the array span with elements returned by calling a closure repeatedly.
sourcepub fn flatten(&self) -> SubGrid<'_, T, Layout<Rank<1, D::Order>, F::Uniform>>
pub fn flatten(&self) -> SubGrid<'_, T, Layout<Rank<1, D::Order>, F::Uniform>>
Returns a one-dimensional array view of the array span.
Panics
Panics if the array layout is not uniformly strided.
sourcepub fn flatten_mut(
&mut self
) -> SubGridMut<'_, T, Layout<Rank<1, D::Order>, F::Uniform>>
pub fn flatten_mut(
&mut self
) -> SubGridMut<'_, T, Layout<Rank<1, D::Order>, F::Uniform>>
Returns a mutable one-dimensional array view over the array span.
Panics
Panics if the array layout is not uniformly strided.
sourcepub unsafe fn get_unchecked<I>(&self, index: I) -> &I::Outputwhere
I: SpanIndex<T, Layout<D, F>>,
pub unsafe fn get_unchecked<I>(&self, index: I) -> &I::Outputwhere
I: SpanIndex<T, Layout<D, F>>,
Returns a reference to an element or a subslice, without doing bounds checking.
Safety
The index must be within bounds of the array span.
sourcepub unsafe fn get_unchecked_mut<I>(&mut self, index: I) -> &mut I::Outputwhere
I: SpanIndex<T, Layout<D, F>>,
pub unsafe fn get_unchecked_mut<I>(&mut self, index: I) -> &mut I::Outputwhere
I: SpanIndex<T, Layout<D, F>>,
Returns a mutable reference to an element or a subslice, without doing bounds checking.
Safety
The index must be within bounds of the array span.
sourcepub fn grid<P: Params, I>(&self, index: I) -> DenseGrid<T, P::Dim>where
T: Clone,
I: ViewIndex<D, F, Params = P>,
pub fn grid<P: Params, I>(&self, index: I) -> DenseGrid<T, P::Dim>where
T: Clone,
I: ViewIndex<D, F, Params = P>,
sourcepub fn inner_iter(
&self
) -> AxisIter<'_, T, Layout<D::Lower, <D::Lower as Dim>::Format<F::NonUnitStrided>>>ⓘNotable traits for AxisIter<'a, T, L>impl<'a, T, L: Copy> Iterator for AxisIter<'a, T, L> type Item = SubGrid<'a, T, L>;
pub fn inner_iter(
&self
) -> AxisIter<'_, T, Layout<D::Lower, <D::Lower as Dim>::Format<F::NonUnitStrided>>>ⓘNotable traits for AxisIter<'a, T, L>impl<'a, T, L: Copy> Iterator for AxisIter<'a, T, L> type Item = SubGrid<'a, T, L>;
Returns an iterator that gives array views over the inner dimension.
Iterating over the inner dimension maintains the uniform stride property but not unit inner stride, so that the resulting array views have flat or strided format.
Panics
Panics if the rank is not at least 1.
sourcepub fn inner_iter_mut(
&mut self
) -> AxisIterMut<'_, T, Layout<D::Lower, <D::Lower as Dim>::Format<F::NonUnitStrided>>>ⓘNotable traits for AxisIterMut<'a, T, L>impl<'a, T, L: Copy> Iterator for AxisIterMut<'a, T, L> type Item = SubGridMut<'a, T, L>;
pub fn inner_iter_mut(
&mut self
) -> AxisIterMut<'_, T, Layout<D::Lower, <D::Lower as Dim>::Format<F::NonUnitStrided>>>ⓘNotable traits for AxisIterMut<'a, T, L>impl<'a, T, L: Copy> Iterator for AxisIterMut<'a, T, L> type Item = SubGridMut<'a, T, L>;
Returns a mutable iterator that gives array views over the inner dimension.
Iterating over the inner dimension maintains the uniform stride property but not unit inner stride, so that the resulting array views have flat or strided format.
Panics
Panics if the rank is not at least 1.
sourcepub fn is_contiguous(&self) -> bool
pub fn is_contiguous(&self) -> bool
Returns true if the array strides are consistent with contiguous memory layout.
sourcepub fn is_uniformly_strided(&self) -> bool
pub fn is_uniformly_strided(&self) -> bool
Returns true if the array strides are consistent with uniformly strided memory layout.
sourcepub fn iter(&self) -> F::Iter<'_, T>where
F: Uniform,
pub fn iter(&self) -> F::Iter<'_, T>where
F: Uniform,
Returns an iterator over the array span, which must support linear indexing.
sourcepub fn iter_mut(&mut self) -> F::IterMut<'_, T>where
F: Uniform,
pub fn iter_mut(&mut self) -> F::IterMut<'_, T>where
F: Uniform,
Returns a mutable iterator over the array span, which must support linear indexing.
sourcepub fn outer_iter(
&self
) -> AxisIter<'_, T, Layout<D::Lower, <D::Lower as Dim>::Format<F>>>ⓘNotable traits for AxisIter<'a, T, L>impl<'a, T, L: Copy> Iterator for AxisIter<'a, T, L> type Item = SubGrid<'a, T, L>;
pub fn outer_iter(
&self
) -> AxisIter<'_, T, Layout<D::Lower, <D::Lower as Dim>::Format<F>>>ⓘNotable traits for AxisIter<'a, T, L>impl<'a, T, L: Copy> Iterator for AxisIter<'a, T, L> type Item = SubGrid<'a, T, L>;
Returns an iterator that gives array views over the outer dimension.
Iterating over the outer dimension maintains both the unit inner stride and the uniform stride properties, and the resulting array views have the same format.
Panics
Panics if the rank is not at least 1.
sourcepub fn outer_iter_mut(
&mut self
) -> AxisIterMut<'_, T, Layout<D::Lower, <D::Lower as Dim>::Format<F>>>ⓘNotable traits for AxisIterMut<'a, T, L>impl<'a, T, L: Copy> Iterator for AxisIterMut<'a, T, L> type Item = SubGridMut<'a, T, L>;
pub fn outer_iter_mut(
&mut self
) -> AxisIterMut<'_, T, Layout<D::Lower, <D::Lower as Dim>::Format<F>>>ⓘNotable traits for AxisIterMut<'a, T, L>impl<'a, T, L: Copy> Iterator for AxisIterMut<'a, T, L> type Item = SubGridMut<'a, T, L>;
Returns a mutable iterator that gives array views over the outer dimension.
Iterating over the outer dimension maintains both the unit inner stride and the uniform stride properties, and the resulting array views have the same format.
Panics
Panics if the rank is not at least 1.
sourcepub fn reformat<G: Format>(&self) -> SubGrid<'_, T, Layout<D, G>>
pub fn reformat<G: Format>(&self) -> SubGrid<'_, T, Layout<D, G>>
Returns a reformatted array view of the array span.
Panics
Panics if the array layout is not compatible with the new format.
sourcepub fn reformat_mut<G: Format>(&mut self) -> SubGridMut<'_, T, Layout<D, G>>
pub fn reformat_mut<G: Format>(&mut self) -> SubGridMut<'_, T, Layout<D, G>>
Returns a mutable reformatted array view of the array span.
Panics
Panics if the array layout is not compatible with the new format.
sourcepub fn reshape<S: Shape>(
&self,
shape: S
) -> SubGrid<'_, T, Layout<S::Dim<D::Order>, <S::Dim<D::Order> as Dim>::Format<F>>>
pub fn reshape<S: Shape>(
&self,
shape: S
) -> SubGrid<'_, T, Layout<S::Dim<D::Order>, <S::Dim<D::Order> as Dim>::Format<F>>>
Returns a reshaped array view of the array span, with similar layout.
Panics
Panics if the array length is changed, or the memory layout is not compatible.
sourcepub fn reshape_mut<S: Shape>(
&mut self,
shape: S
) -> SubGridMut<'_, T, Layout<S::Dim<D::Order>, <S::Dim<D::Order> as Dim>::Format<F>>>
pub fn reshape_mut<S: Shape>(
&mut self,
shape: S
) -> SubGridMut<'_, T, Layout<S::Dim<D::Order>, <S::Dim<D::Order> as Dim>::Format<F>>>
Returns a mutable reshaped array view of the array span, with similar layout.
Panics
Panics if the array length is changed, or the memory layout is not compatible.
sourcepub fn size(&self, dim: usize) -> usize
pub fn size(&self, dim: usize) -> usize
Returns the number of elements in the specified dimension.
sourcepub fn split_at(
&self,
mid: usize
) -> (SubGrid<'_, T, Layout<D, F>>, SubGrid<'_, T, Layout<D, F>>)
pub fn split_at(
&self,
mid: usize
) -> (SubGrid<'_, T, Layout<D, F>>, SubGrid<'_, T, Layout<D, F>>)
Divides an array span into two at an index along the outer dimension.
Panics
Panics if the split point is larger than the number of elements in that dimension.
sourcepub fn split_at_mut(
&mut self,
mid: usize
) -> (SubGridMut<'_, T, Layout<D, F>>, SubGridMut<'_, T, Layout<D, F>>)
pub fn split_at_mut(
&mut self,
mid: usize
) -> (SubGridMut<'_, T, Layout<D, F>>, SubGridMut<'_, T, Layout<D, F>>)
Divides a mutable array span into two at an index along the outer dimension.
Panics
Panics if the split point is larger than the number of elements in that dimension.
sourcepub fn split_axis_at<const DIM: usize>(
&self,
mid: usize
) -> (SubGrid<'_, T, Layout<D, <Const<DIM> as Axis<D>>::Split<F>>>, SubGrid<'_, T, Layout<D, <Const<DIM> as Axis<D>>::Split<F>>>)where
Const<DIM>: Axis<D>,
pub fn split_axis_at<const DIM: usize>(
&self,
mid: usize
) -> (SubGrid<'_, T, Layout<D, <Const<DIM> as Axis<D>>::Split<F>>>, SubGrid<'_, T, Layout<D, <Const<DIM> as Axis<D>>::Split<F>>>)where
Const<DIM>: Axis<D>,
Divides an array span into two at an index along the specified dimension.
Panics
Panics if the split point is larger than the number of elements in that dimension.
sourcepub fn split_axis_at_mut<const DIM: usize>(
&mut self,
mid: usize
) -> (SubGridMut<'_, T, Layout<D, <Const<DIM> as Axis<D>>::Split<F>>>, SubGridMut<'_, T, Layout<D, <Const<DIM> as Axis<D>>::Split<F>>>)where
Const<DIM>: Axis<D>,
pub fn split_axis_at_mut<const DIM: usize>(
&mut self,
mid: usize
) -> (SubGridMut<'_, T, Layout<D, <Const<DIM> as Axis<D>>::Split<F>>>, SubGridMut<'_, T, Layout<D, <Const<DIM> as Axis<D>>::Split<F>>>)where
Const<DIM>: Axis<D>,
Divides a mutable array span into two at an index along the specified dimension.
Panics
Panics if the split point is larger than the number of elements in that dimension.
sourcepub fn stride(&self, dim: usize) -> isize
pub fn stride(&self, dim: usize) -> isize
Returns the distance between elements in the specified dimension.
sourcepub fn to_grid(&self) -> DenseGrid<T, D>where
T: Clone,
pub fn to_grid(&self) -> DenseGrid<T, D>where
T: Clone,
Copies the array span into a new array.
sourcepub fn to_vec(&self) -> Vec<T>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,where
T: Clone,
pub fn to_vec(&self) -> Vec<T>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,where
T: Clone,
A: Allocator,
Copies the array span into a new vector.
Trait Implementations
sourceimpl<T, U, D: Dim, F: Format, B: Buffer<Layout = Layout<D, impl Format>>> Add<&GridBase<B>> for &SpanBase<T, Layout<D, F>>where
for<'a, 'b> &'a T: Add<&'b B::Item, Output = U>,
impl<T, U, D: Dim, F: Format, B: Buffer<Layout = Layout<D, impl Format>>> Add<&GridBase<B>> for &SpanBase<T, Layout<D, F>>where
for<'a, 'b> &'a T: Add<&'b B::Item, Output = U>,
sourceimpl<T: Default, U, D: Dim, F: Format, A> Add<&SpanBase<U, Layout<D, F>>> for DenseGrid<T, D, A>where
for<'a> T: Add<&'a U, Output = T>,
A: Allocator,
impl<T: Default, U, D: Dim, F: Format, A> Add<&SpanBase<U, Layout<D, F>>> for DenseGrid<T, D, A>where
for<'a> T: Add<&'a U, Output = T>,
A: Allocator,
sourceimpl<T: Copy, U, V, D: Dim, F: Format> Add<&SpanBase<U, Layout<D, F>>> for Fill<T>where
for<'a> T: Add<&'a U, Output = V>,
impl<T: Copy, U, V, D: Dim, F: Format> Add<&SpanBase<U, Layout<D, F>>> for Fill<T>where
for<'a> T: Add<&'a U, Output = V>,
sourceimpl<T, U, V, D: Dim, F: Format, G: Format> Add<&SpanBase<U, Layout<D, G>>> for &SpanBase<T, Layout<D, F>>where
for<'a, 'b> &'a T: Add<&'b U, Output = V>,
impl<T, U, V, D: Dim, F: Format, G: Format> Add<&SpanBase<U, Layout<D, G>>> for &SpanBase<T, Layout<D, F>>where
for<'a, 'b> &'a T: Add<&'b U, Output = V>,
sourceimpl<T, U: Copy, V, D: Dim, F: Format> Add<Fill<U>> for &SpanBase<T, Layout<D, F>>where
for<'a> &'a T: Add<U, Output = V>,
impl<T, U: Copy, V, D: Dim, F: Format> Add<Fill<U>> for &SpanBase<T, Layout<D, F>>where
for<'a> &'a T: Add<U, Output = V>,
sourceimpl<T, U: Default, D: Dim, F: Format, A: Allocator> Add<GridBase<DenseBuffer<U, D, A>>> for &SpanBase<T, Layout<D, F>>where
for<'a> &'a T: Add<U, Output = U>,
impl<T, U: Default, D: Dim, F: Format, A: Allocator> Add<GridBase<DenseBuffer<U, D, A>>> for &SpanBase<T, Layout<D, F>>where
for<'a> &'a T: Add<U, Output = U>,
sourceimpl<T, D: Dim, F: Format, B: Buffer<Layout = Layout<D, impl Format>>> AddAssign<&GridBase<B>> for SpanBase<T, Layout<D, F>>where
for<'a> T: AddAssign<&'a B::Item>,
impl<T, D: Dim, F: Format, B: Buffer<Layout = Layout<D, impl Format>>> AddAssign<&GridBase<B>> for SpanBase<T, Layout<D, F>>where
for<'a> T: AddAssign<&'a B::Item>,
sourcefn add_assign(&mut self, rhs: &GridBase<B>)
fn add_assign(&mut self, rhs: &GridBase<B>)
+= operation. Read moresourceimpl<T, U, D: Dim, F: Format, G: Format> AddAssign<&SpanBase<U, Layout<D, G>>> for SpanBase<T, Layout<D, F>>where
for<'a> T: AddAssign<&'a U>,
impl<T, U, D: Dim, F: Format, G: Format> AddAssign<&SpanBase<U, Layout<D, G>>> for SpanBase<T, Layout<D, F>>where
for<'a> T: AddAssign<&'a U>,
sourcefn add_assign(&mut self, rhs: &SpanBase<U, Layout<D, G>>)
fn add_assign(&mut self, rhs: &SpanBase<U, Layout<D, G>>)
+= operation. Read moresourceimpl<T, U: Copy, D: Dim, F: Format> AddAssign<Fill<U>> for SpanBase<T, Layout<D, F>>where
T: AddAssign<U>,
impl<T, U: Copy, D: Dim, F: Format> AddAssign<Fill<U>> for SpanBase<T, Layout<D, F>>where
T: AddAssign<U>,
sourcefn add_assign(&mut self, rhs: Fill<U>)
fn add_assign(&mut self, rhs: Fill<U>)
+= operation. Read moresourceimpl<T, U, D: Dim, F: Format, B: Buffer<Layout = Layout<D, impl Format>>> BitAnd<&GridBase<B>> for &SpanBase<T, Layout<D, F>>where
for<'a, 'b> &'a T: BitAnd<&'b B::Item, Output = U>,
impl<T, U, D: Dim, F: Format, B: Buffer<Layout = Layout<D, impl Format>>> BitAnd<&GridBase<B>> for &SpanBase<T, Layout<D, F>>where
for<'a, 'b> &'a T: BitAnd<&'b B::Item, Output = U>,
sourceimpl<T: Default, U, D: Dim, F: Format, A> BitAnd<&SpanBase<U, Layout<D, F>>> for DenseGrid<T, D, A>where
for<'a> T: BitAnd<&'a U, Output = T>,
A: Allocator,
impl<T: Default, U, D: Dim, F: Format, A> BitAnd<&SpanBase<U, Layout<D, F>>> for DenseGrid<T, D, A>where
for<'a> T: BitAnd<&'a U, Output = T>,
A: Allocator,
sourceimpl<T: Copy, U, V, D: Dim, F: Format> BitAnd<&SpanBase<U, Layout<D, F>>> for Fill<T>where
for<'a> T: BitAnd<&'a U, Output = V>,
impl<T: Copy, U, V, D: Dim, F: Format> BitAnd<&SpanBase<U, Layout<D, F>>> for Fill<T>where
for<'a> T: BitAnd<&'a U, Output = V>,
sourceimpl<T, U, V, D: Dim, F: Format, G: Format> BitAnd<&SpanBase<U, Layout<D, G>>> for &SpanBase<T, Layout<D, F>>where
for<'a, 'b> &'a T: BitAnd<&'b U, Output = V>,
impl<T, U, V, D: Dim, F: Format, G: Format> BitAnd<&SpanBase<U, Layout<D, G>>> for &SpanBase<T, Layout<D, F>>where
for<'a, 'b> &'a T: BitAnd<&'b U, Output = V>,
sourceimpl<T, U: Copy, V, D: Dim, F: Format> BitAnd<Fill<U>> for &SpanBase<T, Layout<D, F>>where
for<'a> &'a T: BitAnd<U, Output = V>,
impl<T, U: Copy, V, D: Dim, F: Format> BitAnd<Fill<U>> for &SpanBase<T, Layout<D, F>>where
for<'a> &'a T: BitAnd<U, Output = V>,
sourceimpl<T, U: Default, D: Dim, F: Format, A: Allocator> BitAnd<GridBase<DenseBuffer<U, D, A>>> for &SpanBase<T, Layout<D, F>>where
for<'a> &'a T: BitAnd<U, Output = U>,
impl<T, U: Default, D: Dim, F: Format, A: Allocator> BitAnd<GridBase<DenseBuffer<U, D, A>>> for &SpanBase<T, Layout<D, F>>where
for<'a> &'a T: BitAnd<U, Output = U>,
sourceimpl<T, D: Dim, F: Format, B: Buffer<Layout = Layout<D, impl Format>>> BitAndAssign<&GridBase<B>> for SpanBase<T, Layout<D, F>>where
for<'a> T: BitAndAssign<&'a B::Item>,
impl<T, D: Dim, F: Format, B: Buffer<Layout = Layout<D, impl Format>>> BitAndAssign<&GridBase<B>> for SpanBase<T, Layout<D, F>>where
for<'a> T: BitAndAssign<&'a B::Item>,
sourcefn bitand_assign(&mut self, rhs: &GridBase<B>)
fn bitand_assign(&mut self, rhs: &GridBase<B>)
&= operation. Read moresourceimpl<T, U, D: Dim, F: Format, G: Format> BitAndAssign<&SpanBase<U, Layout<D, G>>> for SpanBase<T, Layout<D, F>>where
for<'a> T: BitAndAssign<&'a U>,
impl<T, U, D: Dim, F: Format, G: Format> BitAndAssign<&SpanBase<U, Layout<D, G>>> for SpanBase<T, Layout<D, F>>where
for<'a> T: BitAndAssign<&'a U>,
sourcefn bitand_assign(&mut self, rhs: &SpanBase<U, Layout<D, G>>)
fn bitand_assign(&mut self, rhs: &SpanBase<U, Layout<D, G>>)
&= operation. Read moresourceimpl<T, U: Copy, D: Dim, F: Format> BitAndAssign<Fill<U>> for SpanBase<T, Layout<D, F>>where
T: BitAndAssign<U>,
impl<T, U: Copy, D: Dim, F: Format> BitAndAssign<Fill<U>> for SpanBase<T, Layout<D, F>>where
T: BitAndAssign<U>,
sourcefn bitand_assign(&mut self, rhs: Fill<U>)
fn bitand_assign(&mut self, rhs: Fill<U>)
&= operation. Read moresourceimpl<T, U, D: Dim, F: Format, B: Buffer<Layout = Layout<D, impl Format>>> BitOr<&GridBase<B>> for &SpanBase<T, Layout<D, F>>where
for<'a, 'b> &'a T: BitOr<&'b B::Item, Output = U>,
impl<T, U, D: Dim, F: Format, B: Buffer<Layout = Layout<D, impl Format>>> BitOr<&GridBase<B>> for &SpanBase<T, Layout<D, F>>where
for<'a, 'b> &'a T: BitOr<&'b B::Item, Output = U>,
sourceimpl<T: Default, U, D: Dim, F: Format, A> BitOr<&SpanBase<U, Layout<D, F>>> for DenseGrid<T, D, A>where
for<'a> T: BitOr<&'a U, Output = T>,
A: Allocator,
impl<T: Default, U, D: Dim, F: Format, A> BitOr<&SpanBase<U, Layout<D, F>>> for DenseGrid<T, D, A>where
for<'a> T: BitOr<&'a U, Output = T>,
A: Allocator,
sourceimpl<T: Copy, U, V, D: Dim, F: Format> BitOr<&SpanBase<U, Layout<D, F>>> for Fill<T>where
for<'a> T: BitOr<&'a U, Output = V>,
impl<T: Copy, U, V, D: Dim, F: Format> BitOr<&SpanBase<U, Layout<D, F>>> for Fill<T>where
for<'a> T: BitOr<&'a U, Output = V>,
sourceimpl<T, U, V, D: Dim, F: Format, G: Format> BitOr<&SpanBase<U, Layout<D, G>>> for &SpanBase<T, Layout<D, F>>where
for<'a, 'b> &'a T: BitOr<&'b U, Output = V>,
impl<T, U, V, D: Dim, F: Format, G: Format> BitOr<&SpanBase<U, Layout<D, G>>> for &SpanBase<T, Layout<D, F>>where
for<'a, 'b> &'a T: BitOr<&'b U, Output = V>,
sourceimpl<T, U: Copy, V, D: Dim, F: Format> BitOr<Fill<U>> for &SpanBase<T, Layout<D, F>>where
for<'a> &'a T: BitOr<U, Output = V>,
impl<T, U: Copy, V, D: Dim, F: Format> BitOr<Fill<U>> for &SpanBase<T, Layout<D, F>>where
for<'a> &'a T: BitOr<U, Output = V>,
sourceimpl<T, U: Default, D: Dim, F: Format, A: Allocator> BitOr<GridBase<DenseBuffer<U, D, A>>> for &SpanBase<T, Layout<D, F>>where
for<'a> &'a T: BitOr<U, Output = U>,
impl<T, U: Default, D: Dim, F: Format, A: Allocator> BitOr<GridBase<DenseBuffer<U, D, A>>> for &SpanBase<T, Layout<D, F>>where
for<'a> &'a T: BitOr<U, Output = U>,
sourceimpl<T, D: Dim, F: Format, B: Buffer<Layout = Layout<D, impl Format>>> BitOrAssign<&GridBase<B>> for SpanBase<T, Layout<D, F>>where
for<'a> T: BitOrAssign<&'a B::Item>,
impl<T, D: Dim, F: Format, B: Buffer<Layout = Layout<D, impl Format>>> BitOrAssign<&GridBase<B>> for SpanBase<T, Layout<D, F>>where
for<'a> T: BitOrAssign<&'a B::Item>,
sourcefn bitor_assign(&mut self, rhs: &GridBase<B>)
fn bitor_assign(&mut self, rhs: &GridBase<B>)
|= operation. Read moresourceimpl<T, U, D: Dim, F: Format, G: Format> BitOrAssign<&SpanBase<U, Layout<D, G>>> for SpanBase<T, Layout<D, F>>where
for<'a> T: BitOrAssign<&'a U>,
impl<T, U, D: Dim, F: Format, G: Format> BitOrAssign<&SpanBase<U, Layout<D, G>>> for SpanBase<T, Layout<D, F>>where
for<'a> T: BitOrAssign<&'a U>,
sourcefn bitor_assign(&mut self, rhs: &SpanBase<U, Layout<D, G>>)
fn bitor_assign(&mut self, rhs: &SpanBase<U, Layout<D, G>>)
|= operation. Read moresourceimpl<T, U: Copy, D: Dim, F: Format> BitOrAssign<Fill<U>> for SpanBase<T, Layout<D, F>>where
T: BitOrAssign<U>,
impl<T, U: Copy, D: Dim, F: Format> BitOrAssign<Fill<U>> for SpanBase<T, Layout<D, F>>where
T: BitOrAssign<U>,
sourcefn bitor_assign(&mut self, rhs: Fill<U>)
fn bitor_assign(&mut self, rhs: Fill<U>)
|= operation. Read moresourceimpl<T, U, D: Dim, F: Format, B: Buffer<Layout = Layout<D, impl Format>>> BitXor<&GridBase<B>> for &SpanBase<T, Layout<D, F>>where
for<'a, 'b> &'a T: BitXor<&'b B::Item, Output = U>,
impl<T, U, D: Dim, F: Format, B: Buffer<Layout = Layout<D, impl Format>>> BitXor<&GridBase<B>> for &SpanBase<T, Layout<D, F>>where
for<'a, 'b> &'a T: BitXor<&'b B::Item, Output = U>,
sourceimpl<T: Default, U, D: Dim, F: Format, A> BitXor<&SpanBase<U, Layout<D, F>>> for DenseGrid<T, D, A>where
for<'a> T: BitXor<&'a U, Output = T>,
A: Allocator,
impl<T: Default, U, D: Dim, F: Format, A> BitXor<&SpanBase<U, Layout<D, F>>> for DenseGrid<T, D, A>where
for<'a> T: BitXor<&'a U, Output = T>,
A: Allocator,
sourceimpl<T: Copy, U, V, D: Dim, F: Format> BitXor<&SpanBase<U, Layout<D, F>>> for Fill<T>where
for<'a> T: BitXor<&'a U, Output = V>,
impl<T: Copy, U, V, D: Dim, F: Format> BitXor<&SpanBase<U, Layout<D, F>>> for Fill<T>where
for<'a> T: BitXor<&'a U, Output = V>,
sourceimpl<T, U, V, D: Dim, F: Format, G: Format> BitXor<&SpanBase<U, Layout<D, G>>> for &SpanBase<T, Layout<D, F>>where
for<'a, 'b> &'a T: BitXor<&'b U, Output = V>,
impl<T, U, V, D: Dim, F: Format, G: Format> BitXor<&SpanBase<U, Layout<D, G>>> for &SpanBase<T, Layout<D, F>>where
for<'a, 'b> &'a T: BitXor<&'b U, Output = V>,
sourceimpl<T, U: Copy, V, D: Dim, F: Format> BitXor<Fill<U>> for &SpanBase<T, Layout<D, F>>where
for<'a> &'a T: BitXor<U, Output = V>,
impl<T, U: Copy, V, D: Dim, F: Format> BitXor<Fill<U>> for &SpanBase<T, Layout<D, F>>where
for<'a> &'a T: BitXor<U, Output = V>,
sourceimpl<T, U: Default, D: Dim, F: Format, A: Allocator> BitXor<GridBase<DenseBuffer<U, D, A>>> for &SpanBase<T, Layout<D, F>>where
for<'a> &'a T: BitXor<U, Output = U>,
impl<T, U: Default, D: Dim, F: Format, A: Allocator> BitXor<GridBase<DenseBuffer<U, D, A>>> for &SpanBase<T, Layout<D, F>>where
for<'a> &'a T: BitXor<U, Output = U>,
sourceimpl<T, D: Dim, F: Format, B: Buffer<Layout = Layout<D, impl Format>>> BitXorAssign<&GridBase<B>> for SpanBase<T, Layout<D, F>>where
for<'a> T: BitXorAssign<&'a B::Item>,
impl<T, D: Dim, F: Format, B: Buffer<Layout = Layout<D, impl Format>>> BitXorAssign<&GridBase<B>> for SpanBase<T, Layout<D, F>>where
for<'a> T: BitXorAssign<&'a B::Item>,
sourcefn bitxor_assign(&mut self, rhs: &GridBase<B>)
fn bitxor_assign(&mut self, rhs: &GridBase<B>)
^= operation. Read moresourceimpl<T, U, D: Dim, F: Format, G: Format> BitXorAssign<&SpanBase<U, Layout<D, G>>> for SpanBase<T, Layout<D, F>>where
for<'a> T: BitXorAssign<&'a U>,
impl<T, U, D: Dim, F: Format, G: Format> BitXorAssign<&SpanBase<U, Layout<D, G>>> for SpanBase<T, Layout<D, F>>where
for<'a> T: BitXorAssign<&'a U>,
sourcefn bitxor_assign(&mut self, rhs: &SpanBase<U, Layout<D, G>>)
fn bitxor_assign(&mut self, rhs: &SpanBase<U, Layout<D, G>>)
^= operation. Read moresourceimpl<T, U: Copy, D: Dim, F: Format> BitXorAssign<Fill<U>> for SpanBase<T, Layout<D, F>>where
T: BitXorAssign<U>,
impl<T, U: Copy, D: Dim, F: Format> BitXorAssign<Fill<U>> for SpanBase<T, Layout<D, F>>where
T: BitXorAssign<U>,
sourcefn bitxor_assign(&mut self, rhs: Fill<U>)
fn bitxor_assign(&mut self, rhs: Fill<U>)
^= operation. Read moresourceimpl<T, U, D: Dim, F: Format, B: Buffer<Layout = Layout<D, impl Format>>> Div<&GridBase<B>> for &SpanBase<T, Layout<D, F>>where
for<'a, 'b> &'a T: Div<&'b B::Item, Output = U>,
impl<T, U, D: Dim, F: Format, B: Buffer<Layout = Layout<D, impl Format>>> Div<&GridBase<B>> for &SpanBase<T, Layout<D, F>>where
for<'a, 'b> &'a T: Div<&'b B::Item, Output = U>,
sourceimpl<T: Default, U, D: Dim, F: Format, A> Div<&SpanBase<U, Layout<D, F>>> for DenseGrid<T, D, A>where
for<'a> T: Div<&'a U, Output = T>,
A: Allocator,
impl<T: Default, U, D: Dim, F: Format, A> Div<&SpanBase<U, Layout<D, F>>> for DenseGrid<T, D, A>where
for<'a> T: Div<&'a U, Output = T>,
A: Allocator,
sourceimpl<T: Copy, U, V, D: Dim, F: Format> Div<&SpanBase<U, Layout<D, F>>> for Fill<T>where
for<'a> T: Div<&'a U, Output = V>,
impl<T: Copy, U, V, D: Dim, F: Format> Div<&SpanBase<U, Layout<D, F>>> for Fill<T>where
for<'a> T: Div<&'a U, Output = V>,
sourceimpl<T, U, V, D: Dim, F: Format, G: Format> Div<&SpanBase<U, Layout<D, G>>> for &SpanBase<T, Layout<D, F>>where
for<'a, 'b> &'a T: Div<&'b U, Output = V>,
impl<T, U, V, D: Dim, F: Format, G: Format> Div<&SpanBase<U, Layout<D, G>>> for &SpanBase<T, Layout<D, F>>where
for<'a, 'b> &'a T: Div<&'b U, Output = V>,
sourceimpl<T, U: Copy, V, D: Dim, F: Format> Div<Fill<U>> for &SpanBase<T, Layout<D, F>>where
for<'a> &'a T: Div<U, Output = V>,
impl<T, U: Copy, V, D: Dim, F: Format> Div<Fill<U>> for &SpanBase<T, Layout<D, F>>where
for<'a> &'a T: Div<U, Output = V>,
sourceimpl<T, U: Default, D: Dim, F: Format, A: Allocator> Div<GridBase<DenseBuffer<U, D, A>>> for &SpanBase<T, Layout<D, F>>where
for<'a> &'a T: Div<U, Output = U>,
impl<T, U: Default, D: Dim, F: Format, A: Allocator> Div<GridBase<DenseBuffer<U, D, A>>> for &SpanBase<T, Layout<D, F>>where
for<'a> &'a T: Div<U, Output = U>,
sourceimpl<T, D: Dim, F: Format, B: Buffer<Layout = Layout<D, impl Format>>> DivAssign<&GridBase<B>> for SpanBase<T, Layout<D, F>>where
for<'a> T: DivAssign<&'a B::Item>,
impl<T, D: Dim, F: Format, B: Buffer<Layout = Layout<D, impl Format>>> DivAssign<&GridBase<B>> for SpanBase<T, Layout<D, F>>where
for<'a> T: DivAssign<&'a B::Item>,
sourcefn div_assign(&mut self, rhs: &GridBase<B>)
fn div_assign(&mut self, rhs: &GridBase<B>)
/= operation. Read moresourceimpl<T, U, D: Dim, F: Format, G: Format> DivAssign<&SpanBase<U, Layout<D, G>>> for SpanBase<T, Layout<D, F>>where
for<'a> T: DivAssign<&'a U>,
impl<T, U, D: Dim, F: Format, G: Format> DivAssign<&SpanBase<U, Layout<D, G>>> for SpanBase<T, Layout<D, F>>where
for<'a> T: DivAssign<&'a U>,
sourcefn div_assign(&mut self, rhs: &SpanBase<U, Layout<D, G>>)
fn div_assign(&mut self, rhs: &SpanBase<U, Layout<D, G>>)
/= operation. Read moresourceimpl<T, U: Copy, D: Dim, F: Format> DivAssign<Fill<U>> for SpanBase<T, Layout<D, F>>where
T: DivAssign<U>,
impl<T, U: Copy, D: Dim, F: Format> DivAssign<Fill<U>> for SpanBase<T, Layout<D, F>>where
T: DivAssign<U>,
sourcefn div_assign(&mut self, rhs: Fill<U>)
fn div_assign(&mut self, rhs: Fill<U>)
/= operation. Read moresourceimpl<T, U, D: Dim, F: Format, B: Buffer<Layout = Layout<D, impl Format>>> Mul<&GridBase<B>> for &SpanBase<T, Layout<D, F>>where
for<'a, 'b> &'a T: Mul<&'b B::Item, Output = U>,
impl<T, U, D: Dim, F: Format, B: Buffer<Layout = Layout<D, impl Format>>> Mul<&GridBase<B>> for &SpanBase<T, Layout<D, F>>where
for<'a, 'b> &'a T: Mul<&'b B::Item, Output = U>,
sourceimpl<T: Default, U, D: Dim, F: Format, A> Mul<&SpanBase<U, Layout<D, F>>> for DenseGrid<T, D, A>where
for<'a> T: Mul<&'a U, Output = T>,
A: Allocator,
impl<T: Default, U, D: Dim, F: Format, A> Mul<&SpanBase<U, Layout<D, F>>> for DenseGrid<T, D, A>where
for<'a> T: Mul<&'a U, Output = T>,
A: Allocator,
sourceimpl<T: Copy, U, V, D: Dim, F: Format> Mul<&SpanBase<U, Layout<D, F>>> for Fill<T>where
for<'a> T: Mul<&'a U, Output = V>,
impl<T: Copy, U, V, D: Dim, F: Format> Mul<&SpanBase<U, Layout<D, F>>> for Fill<T>where
for<'a> T: Mul<&'a U, Output = V>,
sourceimpl<T, U, V, D: Dim, F: Format, G: Format> Mul<&SpanBase<U, Layout<D, G>>> for &SpanBase<T, Layout<D, F>>where
for<'a, 'b> &'a T: Mul<&'b U, Output = V>,
impl<T, U, V, D: Dim, F: Format, G: Format> Mul<&SpanBase<U, Layout<D, G>>> for &SpanBase<T, Layout<D, F>>where
for<'a, 'b> &'a T: Mul<&'b U, Output = V>,
sourceimpl<T, U: Copy, V, D: Dim, F: Format> Mul<Fill<U>> for &SpanBase<T, Layout<D, F>>where
for<'a> &'a T: Mul<U, Output = V>,
impl<T, U: Copy, V, D: Dim, F: Format> Mul<Fill<U>> for &SpanBase<T, Layout<D, F>>where
for<'a> &'a T: Mul<U, Output = V>,
sourceimpl<T, U: Default, D: Dim, F: Format, A: Allocator> Mul<GridBase<DenseBuffer<U, D, A>>> for &SpanBase<T, Layout<D, F>>where
for<'a> &'a T: Mul<U, Output = U>,
impl<T, U: Default, D: Dim, F: Format, A: Allocator> Mul<GridBase<DenseBuffer<U, D, A>>> for &SpanBase<T, Layout<D, F>>where
for<'a> &'a T: Mul<U, Output = U>,
sourceimpl<T, D: Dim, F: Format, B: Buffer<Layout = Layout<D, impl Format>>> MulAssign<&GridBase<B>> for SpanBase<T, Layout<D, F>>where
for<'a> T: MulAssign<&'a B::Item>,
impl<T, D: Dim, F: Format, B: Buffer<Layout = Layout<D, impl Format>>> MulAssign<&GridBase<B>> for SpanBase<T, Layout<D, F>>where
for<'a> T: MulAssign<&'a B::Item>,
sourcefn mul_assign(&mut self, rhs: &GridBase<B>)
fn mul_assign(&mut self, rhs: &GridBase<B>)
*= operation. Read moresourceimpl<T, U, D: Dim, F: Format, G: Format> MulAssign<&SpanBase<U, Layout<D, G>>> for SpanBase<T, Layout<D, F>>where
for<'a> T: MulAssign<&'a U>,
impl<T, U, D: Dim, F: Format, G: Format> MulAssign<&SpanBase<U, Layout<D, G>>> for SpanBase<T, Layout<D, F>>where
for<'a> T: MulAssign<&'a U>,
sourcefn mul_assign(&mut self, rhs: &SpanBase<U, Layout<D, G>>)
fn mul_assign(&mut self, rhs: &SpanBase<U, Layout<D, G>>)
*= operation. Read moresourceimpl<T, U: Copy, D: Dim, F: Format> MulAssign<Fill<U>> for SpanBase<T, Layout<D, F>>where
T: MulAssign<U>,
impl<T, U: Copy, D: Dim, F: Format> MulAssign<Fill<U>> for SpanBase<T, Layout<D, F>>where
T: MulAssign<U>,
sourcefn mul_assign(&mut self, rhs: Fill<U>)
fn mul_assign(&mut self, rhs: Fill<U>)
*= operation. Read moresourceimpl<T, D: Dim, F: Format> Neg for &SpanBase<T, Layout<D, F>>where
for<'a> &'a T: Neg<Output = T>,
impl<T, D: Dim, F: Format> Neg for &SpanBase<T, Layout<D, F>>where
for<'a> &'a T: Neg<Output = T>,
sourceimpl<T, D: Dim, F: Format> Not for &SpanBase<T, Layout<D, F>>where
for<'a> &'a T: Not<Output = T>,
impl<T, D: Dim, F: Format> Not for &SpanBase<T, Layout<D, F>>where
for<'a> &'a T: Not<Output = T>,
sourceimpl<T: Ord, F: Format, O: Order> Ord for SpanBase<T, Layout<Rank<1, O>, F>>
impl<T: Ord, F: Format, O: Order> Ord for SpanBase<T, Layout<Rank<1, O>, F>>
1.21.0 · sourcefn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
1.21.0 · sourcefn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
1.50.0 · sourcefn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
sourceimpl<T, D: Dim, F: Format, B: Buffer<Layout = Layout<D, impl Format>>> PartialEq<GridBase<B>> for SpanBase<T, Layout<D, F>>where
T: PartialEq<B::Item>,
impl<T, D: Dim, F: Format, B: Buffer<Layout = Layout<D, impl Format>>> PartialEq<GridBase<B>> for SpanBase<T, Layout<D, F>>where
T: PartialEq<B::Item>,
sourceimpl<T, U, D: Dim, F: Format, G: Format> PartialEq<SpanBase<U, Layout<D, G>>> for SpanBase<T, Layout<D, F>>where
T: PartialEq<U>,
impl<T, U, D: Dim, F: Format, G: Format> PartialEq<SpanBase<U, Layout<D, G>>> for SpanBase<T, Layout<D, F>>where
T: PartialEq<U>,
sourceimpl<T, F: Format, O: Order, B: Buffer<Layout = Layout<Rank<1, O>, impl Format>>> PartialOrd<GridBase<B>> for SpanBase<T, Layout<Rank<1, O>, F>>where
T: PartialOrd<B::Item>,
impl<T, F: Format, O: Order, B: Buffer<Layout = Layout<Rank<1, O>, impl Format>>> PartialOrd<GridBase<B>> for SpanBase<T, Layout<Rank<1, O>, F>>where
T: PartialOrd<B::Item>,
sourcefn partial_cmp(&self, other: &GridBase<B>) -> Option<Ordering>
fn partial_cmp(&self, other: &GridBase<B>) -> Option<Ordering>
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
self and other) and is used by the <=
operator. Read moresourceimpl<T, U, F: Format, G: Format, O: Order> PartialOrd<SpanBase<U, Layout<Rank<1, O>, G>>> for SpanBase<T, Layout<Rank<1, O>, F>>where
T: PartialOrd<U>,
impl<T, U, F: Format, G: Format, O: Order> PartialOrd<SpanBase<U, Layout<Rank<1, O>, G>>> for SpanBase<T, Layout<Rank<1, O>, F>>where
T: PartialOrd<U>,
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
self and other) and is used by the <=
operator. Read moresourceimpl<T, U, D: Dim, F: Format, B: Buffer<Layout = Layout<D, impl Format>>> Rem<&GridBase<B>> for &SpanBase<T, Layout<D, F>>where
for<'a, 'b> &'a T: Rem<&'b B::Item, Output = U>,
impl<T, U, D: Dim, F: Format, B: Buffer<Layout = Layout<D, impl Format>>> Rem<&GridBase<B>> for &SpanBase<T, Layout<D, F>>where
for<'a, 'b> &'a T: Rem<&'b B::Item, Output = U>,
sourceimpl<T: Default, U, D: Dim, F: Format, A> Rem<&SpanBase<U, Layout<D, F>>> for DenseGrid<T, D, A>where
for<'a> T: Rem<&'a U, Output = T>,
A: Allocator,
impl<T: Default, U, D: Dim, F: Format, A> Rem<&SpanBase<U, Layout<D, F>>> for DenseGrid<T, D, A>where
for<'a> T: Rem<&'a U, Output = T>,
A: Allocator,
sourceimpl<T: Copy, U, V, D: Dim, F: Format> Rem<&SpanBase<U, Layout<D, F>>> for Fill<T>where
for<'a> T: Rem<&'a U, Output = V>,
impl<T: Copy, U, V, D: Dim, F: Format> Rem<&SpanBase<U, Layout<D, F>>> for Fill<T>where
for<'a> T: Rem<&'a U, Output = V>,
sourceimpl<T, U, V, D: Dim, F: Format, G: Format> Rem<&SpanBase<U, Layout<D, G>>> for &SpanBase<T, Layout<D, F>>where
for<'a, 'b> &'a T: Rem<&'b U, Output = V>,
impl<T, U, V, D: Dim, F: Format, G: Format> Rem<&SpanBase<U, Layout<D, G>>> for &SpanBase<T, Layout<D, F>>where
for<'a, 'b> &'a T: Rem<&'b U, Output = V>,
sourceimpl<T, U: Copy, V, D: Dim, F: Format> Rem<Fill<U>> for &SpanBase<T, Layout<D, F>>where
for<'a> &'a T: Rem<U, Output = V>,
impl<T, U: Copy, V, D: Dim, F: Format> Rem<Fill<U>> for &SpanBase<T, Layout<D, F>>where
for<'a> &'a T: Rem<U, Output = V>,
sourceimpl<T, U: Default, D: Dim, F: Format, A: Allocator> Rem<GridBase<DenseBuffer<U, D, A>>> for &SpanBase<T, Layout<D, F>>where
for<'a> &'a T: Rem<U, Output = U>,
impl<T, U: Default, D: Dim, F: Format, A: Allocator> Rem<GridBase<DenseBuffer<U, D, A>>> for &SpanBase<T, Layout<D, F>>where
for<'a> &'a T: Rem<U, Output = U>,
sourceimpl<T, D: Dim, F: Format, B: Buffer<Layout = Layout<D, impl Format>>> RemAssign<&GridBase<B>> for SpanBase<T, Layout<D, F>>where
for<'a> T: RemAssign<&'a B::Item>,
impl<T, D: Dim, F: Format, B: Buffer<Layout = Layout<D, impl Format>>> RemAssign<&GridBase<B>> for SpanBase<T, Layout<D, F>>where
for<'a> T: RemAssign<&'a B::Item>,
sourcefn rem_assign(&mut self, rhs: &GridBase<B>)
fn rem_assign(&mut self, rhs: &GridBase<B>)
%= operation. Read moresourceimpl<T, U, D: Dim, F: Format, G: Format> RemAssign<&SpanBase<U, Layout<D, G>>> for SpanBase<T, Layout<D, F>>where
for<'a> T: RemAssign<&'a U>,
impl<T, U, D: Dim, F: Format, G: Format> RemAssign<&SpanBase<U, Layout<D, G>>> for SpanBase<T, Layout<D, F>>where
for<'a> T: RemAssign<&'a U>,
sourcefn rem_assign(&mut self, rhs: &SpanBase<U, Layout<D, G>>)
fn rem_assign(&mut self, rhs: &SpanBase<U, Layout<D, G>>)
%= operation. Read moresourceimpl<T, U: Copy, D: Dim, F: Format> RemAssign<Fill<U>> for SpanBase<T, Layout<D, F>>where
T: RemAssign<U>,
impl<T, U: Copy, D: Dim, F: Format> RemAssign<Fill<U>> for SpanBase<T, Layout<D, F>>where
T: RemAssign<U>,
sourcefn rem_assign(&mut self, rhs: Fill<U>)
fn rem_assign(&mut self, rhs: Fill<U>)
%= operation. Read moresourceimpl<T, U, D: Dim, F: Format, B: Buffer<Layout = Layout<D, impl Format>>> Shl<&GridBase<B>> for &SpanBase<T, Layout<D, F>>where
for<'a, 'b> &'a T: Shl<&'b B::Item, Output = U>,
impl<T, U, D: Dim, F: Format, B: Buffer<Layout = Layout<D, impl Format>>> Shl<&GridBase<B>> for &SpanBase<T, Layout<D, F>>where
for<'a, 'b> &'a T: Shl<&'b B::Item, Output = U>,
sourceimpl<T: Default, U, D: Dim, F: Format, A> Shl<&SpanBase<U, Layout<D, F>>> for DenseGrid<T, D, A>where
for<'a> T: Shl<&'a U, Output = T>,
A: Allocator,
impl<T: Default, U, D: Dim, F: Format, A> Shl<&SpanBase<U, Layout<D, F>>> for DenseGrid<T, D, A>where
for<'a> T: Shl<&'a U, Output = T>,
A: Allocator,
sourceimpl<T: Copy, U, V, D: Dim, F: Format> Shl<&SpanBase<U, Layout<D, F>>> for Fill<T>where
for<'a> T: Shl<&'a U, Output = V>,
impl<T: Copy, U, V, D: Dim, F: Format> Shl<&SpanBase<U, Layout<D, F>>> for Fill<T>where
for<'a> T: Shl<&'a U, Output = V>,
sourceimpl<T, U, V, D: Dim, F: Format, G: Format> Shl<&SpanBase<U, Layout<D, G>>> for &SpanBase<T, Layout<D, F>>where
for<'a, 'b> &'a T: Shl<&'b U, Output = V>,
impl<T, U, V, D: Dim, F: Format, G: Format> Shl<&SpanBase<U, Layout<D, G>>> for &SpanBase<T, Layout<D, F>>where
for<'a, 'b> &'a T: Shl<&'b U, Output = V>,
sourceimpl<T, U: Copy, V, D: Dim, F: Format> Shl<Fill<U>> for &SpanBase<T, Layout<D, F>>where
for<'a> &'a T: Shl<U, Output = V>,
impl<T, U: Copy, V, D: Dim, F: Format> Shl<Fill<U>> for &SpanBase<T, Layout<D, F>>where
for<'a> &'a T: Shl<U, Output = V>,
sourceimpl<T, U: Default, D: Dim, F: Format, A: Allocator> Shl<GridBase<DenseBuffer<U, D, A>>> for &SpanBase<T, Layout<D, F>>where
for<'a> &'a T: Shl<U, Output = U>,
impl<T, U: Default, D: Dim, F: Format, A: Allocator> Shl<GridBase<DenseBuffer<U, D, A>>> for &SpanBase<T, Layout<D, F>>where
for<'a> &'a T: Shl<U, Output = U>,
sourceimpl<T, D: Dim, F: Format, B: Buffer<Layout = Layout<D, impl Format>>> ShlAssign<&GridBase<B>> for SpanBase<T, Layout<D, F>>where
for<'a> T: ShlAssign<&'a B::Item>,
impl<T, D: Dim, F: Format, B: Buffer<Layout = Layout<D, impl Format>>> ShlAssign<&GridBase<B>> for SpanBase<T, Layout<D, F>>where
for<'a> T: ShlAssign<&'a B::Item>,
sourcefn shl_assign(&mut self, rhs: &GridBase<B>)
fn shl_assign(&mut self, rhs: &GridBase<B>)
<<= operation. Read moresourceimpl<T, U, D: Dim, F: Format, G: Format> ShlAssign<&SpanBase<U, Layout<D, G>>> for SpanBase<T, Layout<D, F>>where
for<'a> T: ShlAssign<&'a U>,
impl<T, U, D: Dim, F: Format, G: Format> ShlAssign<&SpanBase<U, Layout<D, G>>> for SpanBase<T, Layout<D, F>>where
for<'a> T: ShlAssign<&'a U>,
sourcefn shl_assign(&mut self, rhs: &SpanBase<U, Layout<D, G>>)
fn shl_assign(&mut self, rhs: &SpanBase<U, Layout<D, G>>)
<<= operation. Read moresourceimpl<T, U: Copy, D: Dim, F: Format> ShlAssign<Fill<U>> for SpanBase<T, Layout<D, F>>where
T: ShlAssign<U>,
impl<T, U: Copy, D: Dim, F: Format> ShlAssign<Fill<U>> for SpanBase<T, Layout<D, F>>where
T: ShlAssign<U>,
sourcefn shl_assign(&mut self, rhs: Fill<U>)
fn shl_assign(&mut self, rhs: Fill<U>)
<<= operation. Read moresourceimpl<T, U, D: Dim, F: Format, B: Buffer<Layout = Layout<D, impl Format>>> Shr<&GridBase<B>> for &SpanBase<T, Layout<D, F>>where
for<'a, 'b> &'a T: Shr<&'b B::Item, Output = U>,
impl<T, U, D: Dim, F: Format, B: Buffer<Layout = Layout<D, impl Format>>> Shr<&GridBase<B>> for &SpanBase<T, Layout<D, F>>where
for<'a, 'b> &'a T: Shr<&'b B::Item, Output = U>,
sourceimpl<T: Default, U, D: Dim, F: Format, A> Shr<&SpanBase<U, Layout<D, F>>> for DenseGrid<T, D, A>where
for<'a> T: Shr<&'a U, Output = T>,
A: Allocator,
impl<T: Default, U, D: Dim, F: Format, A> Shr<&SpanBase<U, Layout<D, F>>> for DenseGrid<T, D, A>where
for<'a> T: Shr<&'a U, Output = T>,
A: Allocator,
sourceimpl<T: Copy, U, V, D: Dim, F: Format> Shr<&SpanBase<U, Layout<D, F>>> for Fill<T>where
for<'a> T: Shr<&'a U, Output = V>,
impl<T: Copy, U, V, D: Dim, F: Format> Shr<&SpanBase<U, Layout<D, F>>> for Fill<T>where
for<'a> T: Shr<&'a U, Output = V>,
sourceimpl<T, U, V, D: Dim, F: Format, G: Format> Shr<&SpanBase<U, Layout<D, G>>> for &SpanBase<T, Layout<D, F>>where
for<'a, 'b> &'a T: Shr<&'b U, Output = V>,
impl<T, U, V, D: Dim, F: Format, G: Format> Shr<&SpanBase<U, Layout<D, G>>> for &SpanBase<T, Layout<D, F>>where
for<'a, 'b> &'a T: Shr<&'b U, Output = V>,
sourceimpl<T, U: Copy, V, D: Dim, F: Format> Shr<Fill<U>> for &SpanBase<T, Layout<D, F>>where
for<'a> &'a T: Shr<U, Output = V>,
impl<T, U: Copy, V, D: Dim, F: Format> Shr<Fill<U>> for &SpanBase<T, Layout<D, F>>where
for<'a> &'a T: Shr<U, Output = V>,
sourceimpl<T, U: Default, D: Dim, F: Format, A: Allocator> Shr<GridBase<DenseBuffer<U, D, A>>> for &SpanBase<T, Layout<D, F>>where
for<'a> &'a T: Shr<U, Output = U>,
impl<T, U: Default, D: Dim, F: Format, A: Allocator> Shr<GridBase<DenseBuffer<U, D, A>>> for &SpanBase<T, Layout<D, F>>where
for<'a> &'a T: Shr<U, Output = U>,
sourceimpl<T, D: Dim, F: Format, B: Buffer<Layout = Layout<D, impl Format>>> ShrAssign<&GridBase<B>> for SpanBase<T, Layout<D, F>>where
for<'a> T: ShrAssign<&'a B::Item>,
impl<T, D: Dim, F: Format, B: Buffer<Layout = Layout<D, impl Format>>> ShrAssign<&GridBase<B>> for SpanBase<T, Layout<D, F>>where
for<'a> T: ShrAssign<&'a B::Item>,
sourcefn shr_assign(&mut self, rhs: &GridBase<B>)
fn shr_assign(&mut self, rhs: &GridBase<B>)
>>= operation. Read moresourceimpl<T, U, D: Dim, F: Format, G: Format> ShrAssign<&SpanBase<U, Layout<D, G>>> for SpanBase<T, Layout<D, F>>where
for<'a> T: ShrAssign<&'a U>,
impl<T, U, D: Dim, F: Format, G: Format> ShrAssign<&SpanBase<U, Layout<D, G>>> for SpanBase<T, Layout<D, F>>where
for<'a> T: ShrAssign<&'a U>,
sourcefn shr_assign(&mut self, rhs: &SpanBase<U, Layout<D, G>>)
fn shr_assign(&mut self, rhs: &SpanBase<U, Layout<D, G>>)
>>= operation. Read moresourceimpl<T, U: Copy, D: Dim, F: Format> ShrAssign<Fill<U>> for SpanBase<T, Layout<D, F>>where
T: ShrAssign<U>,
impl<T, U: Copy, D: Dim, F: Format> ShrAssign<Fill<U>> for SpanBase<T, Layout<D, F>>where
T: ShrAssign<U>,
sourcefn shr_assign(&mut self, rhs: Fill<U>)
fn shr_assign(&mut self, rhs: Fill<U>)
>>= operation. Read moresourceimpl<T, U, D: Dim, F: Format, B: Buffer<Layout = Layout<D, impl Format>>> Sub<&GridBase<B>> for &SpanBase<T, Layout<D, F>>where
for<'a, 'b> &'a T: Sub<&'b B::Item, Output = U>,
impl<T, U, D: Dim, F: Format, B: Buffer<Layout = Layout<D, impl Format>>> Sub<&GridBase<B>> for &SpanBase<T, Layout<D, F>>where
for<'a, 'b> &'a T: Sub<&'b B::Item, Output = U>,
sourceimpl<T: Default, U, D: Dim, F: Format, A> Sub<&SpanBase<U, Layout<D, F>>> for DenseGrid<T, D, A>where
for<'a> T: Sub<&'a U, Output = T>,
A: Allocator,
impl<T: Default, U, D: Dim, F: Format, A> Sub<&SpanBase<U, Layout<D, F>>> for DenseGrid<T, D, A>where
for<'a> T: Sub<&'a U, Output = T>,
A: Allocator,
sourceimpl<T: Copy, U, V, D: Dim, F: Format> Sub<&SpanBase<U, Layout<D, F>>> for Fill<T>where
for<'a> T: Sub<&'a U, Output = V>,
impl<T: Copy, U, V, D: Dim, F: Format> Sub<&SpanBase<U, Layout<D, F>>> for Fill<T>where
for<'a> T: Sub<&'a U, Output = V>,
sourceimpl<T, U, V, D: Dim, F: Format, G: Format> Sub<&SpanBase<U, Layout<D, G>>> for &SpanBase<T, Layout<D, F>>where
for<'a, 'b> &'a T: Sub<&'b U, Output = V>,
impl<T, U, V, D: Dim, F: Format, G: Format> Sub<&SpanBase<U, Layout<D, G>>> for &SpanBase<T, Layout<D, F>>where
for<'a, 'b> &'a T: Sub<&'b U, Output = V>,
sourceimpl<T, U: Copy, V, D: Dim, F: Format> Sub<Fill<U>> for &SpanBase<T, Layout<D, F>>where
for<'a> &'a T: Sub<U, Output = V>,
impl<T, U: Copy, V, D: Dim, F: Format> Sub<Fill<U>> for &SpanBase<T, Layout<D, F>>where
for<'a> &'a T: Sub<U, Output = V>,
sourceimpl<T, U: Default, D: Dim, F: Format, A: Allocator> Sub<GridBase<DenseBuffer<U, D, A>>> for &SpanBase<T, Layout<D, F>>where
for<'a> &'a T: Sub<U, Output = U>,
impl<T, U: Default, D: Dim, F: Format, A: Allocator> Sub<GridBase<DenseBuffer<U, D, A>>> for &SpanBase<T, Layout<D, F>>where
for<'a> &'a T: Sub<U, Output = U>,
sourceimpl<T, D: Dim, F: Format, B: Buffer<Layout = Layout<D, impl Format>>> SubAssign<&GridBase<B>> for SpanBase<T, Layout<D, F>>where
for<'a> T: SubAssign<&'a B::Item>,
impl<T, D: Dim, F: Format, B: Buffer<Layout = Layout<D, impl Format>>> SubAssign<&GridBase<B>> for SpanBase<T, Layout<D, F>>where
for<'a> T: SubAssign<&'a B::Item>,
sourcefn sub_assign(&mut self, rhs: &GridBase<B>)
fn sub_assign(&mut self, rhs: &GridBase<B>)
-= operation. Read moresourceimpl<T, U, D: Dim, F: Format, G: Format> SubAssign<&SpanBase<U, Layout<D, G>>> for SpanBase<T, Layout<D, F>>where
for<'a> T: SubAssign<&'a U>,
impl<T, U, D: Dim, F: Format, G: Format> SubAssign<&SpanBase<U, Layout<D, G>>> for SpanBase<T, Layout<D, F>>where
for<'a> T: SubAssign<&'a U>,
sourcefn sub_assign(&mut self, rhs: &SpanBase<U, Layout<D, G>>)
fn sub_assign(&mut self, rhs: &SpanBase<U, Layout<D, G>>)
-= operation. Read moresourceimpl<T, U: Copy, D: Dim, F: Format> SubAssign<Fill<U>> for SpanBase<T, Layout<D, F>>where
T: SubAssign<U>,
impl<T, U: Copy, D: Dim, F: Format> SubAssign<Fill<U>> for SpanBase<T, Layout<D, F>>where
T: SubAssign<U>,
sourcefn sub_assign(&mut self, rhs: Fill<U>)
fn sub_assign(&mut self, rhs: Fill<U>)
-= operation. Read more