1use core::ops::Not; 2 3use crate::values::value::Value; 4 5impl Not for Value { 6 type Output = Option<Value>; 7 8 fn not(self) -> Self::Output { 9 (!self.inner).map(Value::from) 10 } 11}