pub struct ReduceRange {
pub index_start: u32,
pub index_step: u32,
pub coordinate_start: u32,
pub coordinate_end: u32,
pub coordinate_step: u32,
}
Expand description
A simple range to specify how to iterate a slice when performing a reduction.
Fields§
§index_start: u32
§index_step: u32
§coordinate_start: u32
§coordinate_end: u32
§coordinate_step: u32
Trait Implementations§
Source§impl CubeType for ReduceRange
impl CubeType for ReduceRange
type ExpandType = ReduceRangeExpand
Source§fn into_mut(scope: &mut Scope, expand: Self::ExpandType) -> Self::ExpandType
fn into_mut(scope: &mut Scope, expand: Self::ExpandType) -> Self::ExpandType
Wrapper around the init method, necessary to type inference.
Auto Trait Implementations§
impl Freeze for ReduceRange
impl RefUnwindSafe for ReduceRange
impl Send for ReduceRange
impl Sync for ReduceRange
impl Unpin for ReduceRange
impl UnwindSafe for ReduceRange
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more