[][src]Trait rand::distributions::uniform::SampleBorrow

pub trait SampleBorrow<Borrowed> {
    fn borrow(&self) -> &Borrowed;
}

Helper trait similar to Borrow but implemented only for SampleUniform and references to SampleUniform in order to resolve ambiguity issues.

Required methods

fn borrow(&self) -> &Borrowed

Immutably borrows from an owned value. See Borrow::borrow

Loading content...

Implementations on Foreign Types

impl<'a, Borrowed> SampleBorrow<Borrowed> for &'a Borrowed where
    Borrowed: SampleUniform
[src]

Loading content...

Implementors

impl<Borrowed> SampleBorrow<Borrowed> for Borrowed where
    Borrowed: SampleUniform
[src]

Loading content...