pub trait CheckedDiv<Rhs = Self> {
type Output;
// Required method
fn checked_div(self, rhs: Rhs) -> Option<Self::Output>;
}Expand description
✅ Checked division. Returns None on division by zero or overflow.
§Panics
This function never panics.