Trait ndarray_rand::rand_distr::uniform::SampleBorrow[][src]

pub trait SampleBorrow<Borrowed> {
    pub 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

pub fn borrow(&self) -> &Borrowed[src]

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...