Trait stm32g0xx_hal::rng::RngCore[][src]

pub trait RngCore<W> {
    fn gen(&mut self) -> Result<W, ErrorKind>;
fn gen_range(&mut self, low: W, high: W) -> Result<W, ErrorKind>;
fn fill(&mut self, dest: &mut [W]) -> Result<(), ErrorKind>; }

Required methods

fn gen(&mut self) -> Result<W, ErrorKind>[src]

fn gen_range(&mut self, low: W, high: W) -> Result<W, ErrorKind>[src]

fn fill(&mut self, dest: &mut [W]) -> Result<(), ErrorKind>[src]

Loading content...

Implementors

impl RngCore<u8> for Rng[src]

impl RngCore<u16> for Rng[src]

impl RngCore<u32> for Rng[src]

impl RngCore<usize> for Rng[src]

Loading content...