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

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...