use crate::functions::are_equal_structural_type_equality_alt_e::are_equal_seen_set_type_item_type_item;
use crate::records::r#type::Type;
use crate::type_aliases::seen_set_structural_type_equality::SeenSet;

impl Type {
    pub fn operator_ne(&self, rhs: &Type) -> bool {
        let mut seen = SeenSet::new();
        !are_equal_seen_set_type_item_type_item(&mut seen, self, rhs)
    }
}
