pub struct GatherCompute {
pub slot: u32,
pub bit_positions: Vec<u32>,
}Expand description
Resolves a one-hot group’s selected position once per evaluation, at the
first layer that reads the group: Σ position × bit and Σ bit, exact for
0/1 bits.
Fields§
§slot: u32§bit_positions: Vec<u32>Packed positions of the group’s members, in group order.
Trait Implementations§
Source§impl Clone for GatherCompute
impl Clone for GatherCompute
Auto Trait Implementations§
impl Freeze for GatherCompute
impl RefUnwindSafe for GatherCompute
impl Send for GatherCompute
impl Sync for GatherCompute
impl Unpin for GatherCompute
impl UnsafeUnpin for GatherCompute
impl UnwindSafe for GatherCompute
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