pub struct UnitPartitioner {}Expand description
Defines how to partition across units
Trait Implementations§
Source§impl StagePartitioner for UnitPartitioner
impl StagePartitioner for UnitPartitioner
Source§fn coordinates<S: StageConfig>(config: S) -> Coords2d
fn coordinates<S: StageConfig>(config: S) -> Coords2d
Returns the (row, col) of the current compute primitive within the stage.
fn __expand_coordinates<S: StageConfig>( scope: &mut Scope, config: S, ) -> <Coords2d as CubeType>::ExpandType
Auto Trait Implementations§
impl Freeze for UnitPartitioner
impl RefUnwindSafe for UnitPartitioner
impl Send for UnitPartitioner
impl Sync for UnitPartitioner
impl Unpin for UnitPartitioner
impl UnwindSafe for UnitPartitioner
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