Trait mun_memory::gc::Observer[][src]

pub trait Observer: Send + Sync {
    type Event;
    fn event(&self, _event: Self::Event) { ... }
}

The Observer trait allows receiving of Events.

Associated Types

Loading content...

Provided methods

fn event(&self, _event: Self::Event)[src]

Loading content...

Implementors

impl<T: Send + Sync> Observer for NoopObserver<T>[src]

type Event = T

Loading content...