webrender::util

Function round_up_to_multiple

Source
pub fn round_up_to_multiple(val: usize, mul: NonZeroUsize) -> usize
Expand description

Rounds a value up to the nearest multiple of mul