1 2 3 4 5 6 7 8 9 10 11 12 13
use super::*; impl From<bool> for Negative { fn from(n: bool) -> Self { Self(n) } } impl PartialEq<bool> for Negative { fn eq(&self, other: &bool) -> bool { self.0 == *other } }