[][src]Trait interact::ReflectIndirect

pub trait ReflectIndirect {
    fn indirect(&self, fnc: Box<dyn FnMut(&dyn Access) + Send>);
fn indirect_mut(&mut self, fnc: Box<dyn FnMut(&mut dyn Access) + Send>); }

The indirect Reflect allows indirect climber or reflector access, and meant to be used as a trait object for that purpose.

It is expected that the provided callback would be called at this or some other thread in order to continue traversal of the access expression. For example, if a processes uses internal message passing, the traversal can continue upon message reception.

Required methods

fn indirect(&self, fnc: Box<dyn FnMut(&dyn Access) + Send>)

Provides indirection for immutable access.

fn indirect_mut(&mut self, fnc: Box<dyn FnMut(&mut dyn Access) + Send>)

Provides indirection for mutable access.

Loading content...

Implementors

Loading content...