pub struct Inverter<T> {
pub child: Box<dyn Node<T>>,
}Expand description
Inverts the child’s result.
Fields§
§child: Box<dyn Node<T>>Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for Inverter<T>
impl<T> !RefUnwindSafe for Inverter<T>
impl<T> Send for Inverter<T>
impl<T> Sync for Inverter<T>
impl<T> Unpin for Inverter<T>
impl<T> UnsafeUnpin for Inverter<T>
impl<T> !UnwindSafe for Inverter<T>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more