Trait SetIvState

pub trait SetIvState: IvState

Trait for setting current IV state.

Required Methods

fn set_iv(&mut self, iv: &Iv<Self>)

Set IV.

Provided Methods

fn peek<T>(&mut self, f: impl FnOnce(&mut Self) -> T) -> T

Execute the f closure with the current state and reset it back to the original state before the method returns.