Home
last modified time | relevance | path

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

/Linux-v6.6/rust/alloc/vec/
Dis_zero.rs14 macro_rules! impl_is_zero { macro
25 impl_is_zero!(i8, |x| x == 0); // It is needed to impl for arrays and tuples of i8.
26 impl_is_zero!(i16, |x| x == 0);
27 impl_is_zero!(i32, |x| x == 0);
28 impl_is_zero!(i64, |x| x == 0);
29 impl_is_zero!(i128, |x| x == 0);
30 impl_is_zero!(isize, |x| x == 0);
32 impl_is_zero!(u8, |x| x == 0); // It is needed to impl for arrays and tuples of u8.
33 impl_is_zero!(u16, |x| x == 0);
34 impl_is_zero!(u32, |x| x == 0);
[all …]