Skip to main content

NodeHandle

Trait NodeHandle 

Source
pub trait NodeHandle {
    // Required method
    fn id(self) -> NodeId;
}
Expand description

Common behavior for typed node handles.

Required Methods§

Source

fn id(self) -> NodeId

Returns the graph-local node id backing this typed handle.

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§