Trait rand::distributions::uniform::SampleBorrow
source · 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