Trait wasm_rgame::SpawnableDelegate [] [src]

pub trait SpawnableDelegate: Delegate {
    type Handle: Clone;
    fn handle(&self) -> Self::Handle;
}

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.

Associated Types

Required Methods

Implementors