pub trait NodeSource {
type Slot: Copy + 'static;
type Key: Clone + Hash + Eq + 'static;
type Conn: TreeConn<Slot = Self::Slot, Key = Self::Key>;
// Required method
fn connect(self) -> Self::Conn;
}Expand description
Required Associated Types§
Sourcetype Key: Clone + Hash + Eq + 'static
type Key: Clone + Hash + Eq + 'static
The app’s identity currency: what selection, moves and expansion speak.
type Conn: TreeConn<Slot = Self::Slot, Key = Self::Key>
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".