Trait valence::rand::distributions::uniform::SampleBorrow
source · pub trait SampleBorrow<Borrowed> {
// Required method
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§
sourcefn borrow(&self) -> &Borrowed
fn borrow(&self) -> &Borrowed
Immutably borrows from an owned value. See Borrow::borrow