Skip to main content

SupportsClear

Trait SupportsClear 

Source
pub trait SupportsClear: Graph {
    // Required method
    fn clear(&mut self);
}
Expand description

Supports clearing all vertices and edges

Required Methods§

Source

fn clear(&mut self)

Clears the graph, removing all vertices and edges

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§