pub fn add_vertex(&mut self, vertex: (usize, usize)) -> bool {
        if !self.is_inside(vertex) {
            return false;
        }
        let r = if self.dense {
            self.exclusions.remove(&vertex)
        } else {
            self.exclusions.insert(vertex)
        };
        self.rebalance();
        r
    }
/// Add a new vertex. Return `true` if the vertex did not previously
/// exist and has been added.
Add a new vertex. Return `true` if the vertex did not previously
exist and has been added.
Add a new vertex . Return ` true ` if the vertex did not previously exist and has been added .
pub fn add_vertex(&mut self, vertex: (usize, usize)) -> bool {
        if !self.is_inside(vertex) {
            return false;
        }
        let r = if self.dense {
            self.exclusions.remove(&vertex)
        } else {
            self.exclusions.insert(vertex)
        };
        self.rebalance();
        r
    }
pub fn add_vertex ( & mut self , vertex : ( usize , usize ) ) -> bool { if ! self . is_inside ( vertex ) { return false ; } let r = if self . dense { self . exclusions . remove ( & vertex ) } else { self . exclusions . insert ( vertex ) } ; self . rebalance ( ) ; r }
Add a new vertex.
Add a new vertex .
&mut self
vertex
(usize, usize)
&mut self
vertex
(usize, usize)