pub trait IpStep {
// Required methods
fn replace_one(&mut self) -> Self;
fn replace_zero(&mut self) -> Self;
fn add_one(&self) -> Self;
fn sub_one(&self) -> Self;
}Required Methods§
fn replace_one(&mut self) -> Self
fn replace_zero(&mut self) -> Self
fn add_one(&self) -> Self
fn sub_one(&self) -> Self
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.