pub fn read_masked<C: CubePrimitive>(
mask: bool,
list: Slice<C>,
index: u32,
value: C,
) -> CExpand description
Returns the value at index in list if condition is true, otherwise returns value.
pub fn read_masked<C: CubePrimitive>(
mask: bool,
list: Slice<C>,
index: u32,
value: C,
) -> CReturns the value at index in list if condition is true, otherwise returns value.