#[repr(C)]pub struct Rng { /* private fields */ }
Expand description
Rng protocol
Implementations
sourceimpl Rng
impl Rng
sourcepub fn get_info<'buf>(
&mut self,
algorithm_list: &'buf mut [RngAlgorithmType]
) -> Result<&'buf [RngAlgorithmType], Option<usize>>
pub fn get_info<'buf>(
&mut self,
algorithm_list: &'buf mut [RngAlgorithmType]
) -> Result<&'buf [RngAlgorithmType], Option<usize>>
Returns information about the random number generation implementation.
Trait Implementations
Auto Trait Implementations
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more