[][src]Trait rusty_junctions::types::functions::ternary::FnBoxClone

pub trait FnBoxClone: Fn(Message, Message, Message) + Send {
    fn clone_box(&self) -> Box<dyn FnBoxClone>;
}

Trait to allow boxed up functions that take three Messages and return nothing to be cloned.

Required methods

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

Loading content...

Implementors

impl<F> FnBoxClone for F where
    F: Fn(Message, Message, Message) + Send + Clone + 'static, 
[src]

fn clone_box(&self) -> Box<dyn FnBoxClone>[src]

Proxy function to be able to implement the Clone trait on boxed up functions that take three Messages and return nothing.

Loading content...