Function cal_offset

Source
fn cal_offset(page: u32, limit: u32) -> u32
Expand description

Calculate the offset value from page and limit. offset = limit * page