pub trait ContainsNode: ContainsElement {
// Provided method
fn contains_node(&self, node: Self::ElementId) -> bool { ... }
}Expand description
Node-ID containment capability for graph views.
Graph-facing name for ContainsElement.
Provided Methods§
Sourcefn contains_node(&self, node: Self::ElementId) -> bool
fn contains_node(&self, node: Self::ElementId) -> bool
Returns whether node is valid and visible in this graph view.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".