Type Alias RutabagaDebugHandler

Source
pub type RutabagaDebugHandler = RutabagaHandler<RutabagaDebug>;

Aliased Type§

struct RutabagaDebugHandler { /* private fields */ }

Implementations

Source§

impl<S> RutabagaHandler<S>
where S: Send + Sync + Clone + 'static,

Source

pub fn new(closure: impl Fn(S) + Send + Sync + 'static) -> RutabagaHandler<S>

Source

pub fn call(&self, data: S)

Trait Implementations

Source§

impl<S: Clone> Clone for RutabagaHandler<S>

Source§

fn clone(&self) -> RutabagaHandler<S>

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
Source§

impl<S> Debug for RutabagaHandler<S>

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more