Trait SpawnableDelegate

Source
pub trait SpawnableDelegate: Delegate {
    type Handle: Clone;

    // Required method
    fn handle(&self) -> Self::Handle;
}
Expand description

Trait for delegates that can be “spawned” on an DelegateManager. This trait defines the method of communciation with the spawned object as ownership is passed to the DelegateManager.

Required Associated Types§

Required Methods§

Source

fn handle(&self) -> Self::Handle

Implementors§