You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: mod.rs
    path of file: ./repos/Fyrox/src/renderer/shadow
    
    the code of the file until where you have to start completion: #![warn(clippy::too_many_arguments)]

pub mod csm;
pub mod point;
pub mod spot;

pub fn cascade_size(base_siz
    
pub fn cascade_size(base_size: usize, cascade: usize) -> usize {
    match cascade {
        0 => base_size,
        1 => (base_size / 2).max(1),
        2 => (base_size / 4).max(1),
        _ => unreachable!(),
    }
}