Home
last modified time | relevance | path

Searched refs:fits_within (Results 1 – 1 of 1) sorted by relevance

/linux/rust/kernel/num/
H A Dbounded.rs28 macro_rules! fits_within { macro
42 fn fits_within<T: Integer>(value: T, num_bits: u32) -> bool { in fits_within() function
43 fits_within!(value, T, num_bits) in fits_within()
268 const_assert!(fits_within!(VALUE, $type, N));
338 fits_within(value, N).then(|| { in try_new()
378 fits_within(expr, N), in from_expr()
567 if !fits_within(self.0, N) { in deref()