pub trait LFSR {
// Required methods
fn get_state(&self) -> u32;
fn inc(&mut self);
fn dec(&mut self);
fn sequence_length(&self) -> u32;
}Expand description
An object-safe part of the LFSR trait that allows to count up, down and get a current state
Required Methods§
Sourcefn sequence_length(&self) -> u32
fn sequence_length(&self) -> u32
Sequence length of this LFSR