☰
Distribution
Required Methods
sample
Implementors
In swifco_rs::resources::random
?
Trait
swifco_rs
::
resources
::
random
::
Distribution
source
·
[
−
]
pub trait Distribution<T>:
Send
{ fn
sample
(&self, rng: &mut
Rng
) -> T; }
Required methods
source
fn
sample
(&self, rng: &mut
Rng
) -> T
Implementors
source
impl<T, D>
Distribution
<T> for D
where
D:
GenericDistribution
<T> +
Send
,