Struct Const
tiamat
pub struct Const<T>(pub T);
Wrapper struct for the constant distribution.
impl<T: Clone> BuildRandom<T> for Const<T>
fn build<G: RandomGen>(&self, _rng: &mut G) -> T
Returns self.0.
self.0
impl<T> Send for Const<T> where T: Send,
impl<T> Sync for Const<T> where T: Sync,