Function libparted::round_down_to[][src]

pub fn round_down_to(sector: i64, grain_size: i64) -> i64
Expand description

Rounds a number down to the closest number that is a multiple of the grain size.