[][src]Trait blackboard::Subscriptor

pub trait Subscriptor<T> {
    pub fn notify(&mut self, what: &mut T);
}

To be implemented by subscriptors, any FnMut(&mut T) closure automatically implements this

Required methods

pub fn notify(&mut self, what: &mut T)[src]

Loading content...

Implementors

impl<T, F> Subscriptor<T> for F where
    F: FnMut(&mut T), 
[src]

pub fn notify(&mut self, what: &mut T)[src]

Notifies the Subscriptor with a type

Loading content...