pub trait IntHelp: PrimInt + FromPrimitive {
// Required methods
fn reverse_by_twos(&self) -> Self;
fn lower_of_two() -> Self;
}Expand description
Trait for specialized integer operations used in DeBruijn Graph
Required Methods§
Sourcefn reverse_by_twos(&self) -> Self
fn reverse_by_twos(&self) -> Self
Reverse the order of 2-bit units of the integer
fn lower_of_two() -> 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.