Struct cfrp::primitives::input::RngInput [] [src]

pub struct RngInput<R, A> where R: Rng + Clone + Send, A: Send + Clone + Rand {
    // some fields omitted
}

Methods

impl<R, A> RngInput<R, A> where R: Rng + Clone + Send, A: Send + Clone + Rand

fn new(rng: R, tx: SyncSender<Event<A>>) -> Self

Trait Implementations

impl<R, A> RunInput for RngInput<R, A> where R: 'static + Rng + Clone + Send, A: 'static + Send + Clone + Rand

fn run(self: Box<Self>, _: usize, _: Arc<Mutex<Vec<Box<NoOp>>>>)

fn boxed_no_op(&self) -> Box<NoOp>

impl<R, A> NoOp for RngInput<R, A> where R: Rng + Clone + Send, A: Send + Clone + Rand

fn send_no_change(&mut self) -> bool

fn send_exit(&self)

Derived Implementations

impl<R: Clone, A: Clone> Clone for RngInput<R, A> where R: Rng + Clone + Send, A: Send + Clone + Rand

fn clone(&self) -> RngInput<R, A>

fn clone_from(&mut self, source: &Self)