Trait rand_distr::uniform::SampleBorrow [−][src]
Helper trait similar to Borrow
but implemented
only for SampleUniform and references to SampleUniform in
order to resolve ambiguity issues.
Required methods
pub fn borrow(&self) -> &Borrowed
[src]
Immutably borrows from an owned value. See Borrow::borrow
Implementations on Foreign Types
impl<'a, Borrowed> SampleBorrow<Borrowed> for &'a Borrowed where
Borrowed: SampleUniform,
[src]
impl<'a, Borrowed> SampleBorrow<Borrowed> for &'a Borrowed where
Borrowed: SampleUniform,
[src]Implementors
impl<Borrowed> SampleBorrow<Borrowed> for Borrowed where
Borrowed: SampleUniform,
[src]
impl<Borrowed> SampleBorrow<Borrowed> for Borrowed where
Borrowed: SampleUniform,
[src]