[][src]Trait lfsr_base::LFSR

pub trait LFSR {
    fn get_state(&self) -> u32;
fn inc(&mut self);
fn dec(&mut self); }

An object-safe part of the LFSR trait that allow to count up, down and to get a current state

Required methods

fn get_state(&self) -> u32

Retrieves the current state of the LFSR

fn inc(&mut self)

Count up

fn dec(&mut self)

Count down

Loading content...

Implementors

Loading content...