Struct tiamat::Const[][src]

pub struct Const<T>(pub T);

Wrapper struct for the constant distribution.

Trait Implementations

impl<T: Clone> BuildRandom<T> for Const<T>
[src]

Returns self.0.

Auto Trait Implementations

impl<T> Send for Const<T> where
    T: Send

impl<T> Sync for Const<T> where
    T: Sync