#![no_std]/// An object-safe part of the LFSR trait that allows to count up, down and get a current state
pubtraitLFSR{/** Retrieves the current state of the LFSR */fnget_state(&self)->u32;/** Count up */fninc(&mutself);/** Count down */fndec(&mutself);/** Sequence length of this LFSR */fnsequence_length(&self)->u32;}/// A non-object-safe part of an LFSR
pubtraitLFSRStatic{/** Sequence length of this LFSR */fnsequence_length()->u32;}