1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
//! Not operation.

use crate::{builder, node_to_inner, nodes::Node};

/// Not node.
pub struct Not {
    inner: Node,
}

impl Not {
    /// Creates new Not operation.
    #[inline(always)]
    pub fn new<T: Into<String>>(input: T) -> Self {
        Not {
            inner: builder::Node::new("Not").input(input).build(),
        }
    }
}

node_to_inner!(Not);