pub fn read_checked<C>(list: &[C], index: usize) -> Cwhere
C: CubePrimitive,Expand description
Returns the value at index in list if the index is in bounds, otherwise returns value.
pub fn read_checked<C>(list: &[C], index: usize) -> Cwhere
C: CubePrimitive,Returns the value at index in list if the index is in bounds, otherwise returns value.