pub fn contains_duplicates(&self) -> bool {
        self.contained_nodes_with_duplicates()
            .into_iter()
            .duplicates()
            .next()
            .is_some()
    }
/// Whether some nodes appear more than once
Whether some nodes appear more than once
Whether some nodes appear more than once
pub fn contains_duplicates(&self) -> bool {
        self.contained_nodes_with_duplicates()
            .into_iter()
            .duplicates()
            .next()
            .is_some()
    }
pub fn contains_duplicates ( & self ) -> bool { self . contained_nodes_with_duplicates ( ) . into_iter ( ) . duplicates ( ) . next ( ) . is_some ( ) }
Whether some nodes appear more than once
Whether some nodes appear more than once
&self
&self