read_masked

Function read_masked 

Source
pub fn read_masked<C: CubePrimitive>(
    mask: bool,
    list: Slice<C>,
    index: u32,
    value: C,
) -> C
Expand description

Returns the value at index in list if condition is true, otherwise returns value.