1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
#[derive(Clone, Debug, PartialEq, Eq, PartialOrd, Ord)] pub struct IntegerNode {} impl IntegerNode { #[must_use] pub fn new() -> Self { Self {} } } impl Default for IntegerNode { fn default() -> Self { IntegerNode::new() } }