1 2 3 4 5 6 7 8
impl Bool32 { pub fn is_ok(&self) -> bool { self.0 != 0 } pub fn is_err(&self) -> bool { !self.is_ok() } }