Trait rug::rand::MutRandState[][src]

pub trait MutRandState: SealedMutRandState { }

Used to pass the state of random number generators by mutable reference.

This trait is implemented by

  1. RandState, which is thread safe and implements Send and Sync.
  2. ThreadRandState, which can only be used in a single thread.

This trait is sealed and cannot be implemented for more types.

Implementors

impl MutRandState for RandState<'_>[src]

impl MutRandState for ThreadRandState<'_>[src]

Loading content...