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

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

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

Required methods

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

Implementations on Foreign Types

Implementors