pub trait EventSystem {
    // Required methods
    fn send_event(&mut self, event: Event);
    fn clone_box(&self) -> Box<dyn EventSystem>;
}

Required Methods§

source

fn send_event(&mut self, event: Event)

source

fn clone_box(&self) -> Box<dyn EventSystem>

Trait Implementations§

source§

impl Clone for Box<dyn EventSystem>

source§

fn clone(&self) -> Self

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more

Implementors§