1 2 3 4 5 6 7 8 9 10 11
use crate::Command; use ql2::term::TermType; use std::ops::Not; impl Not for Command { type Output = Self; fn not(self) -> Self { Self::new(TermType::Not).with_arg(self) } }