pub struct Config { /* private fields */ }
Expand description
CRC configuration
Implementations§
Source§impl Config
impl Config
Sourcepub fn new(
reverse_in: InputReverseConfig,
reverse_out: bool,
crc_init_value: u32,
) -> Result<Self, ConfigError>
pub fn new( reverse_in: InputReverseConfig, reverse_out: bool, crc_init_value: u32, ) -> Result<Self, ConfigError>
Create a new CRC config.
Auto Trait Implementations§
impl Freeze for Config
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnwindSafe for Config
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more