pub trait Ops {
// Required methods
fn lrot(&self) -> Self;
fn rrot(&self) -> Self;
fn xor(&self, rhs: &Self) -> Self;
fn and(&self, rhs: &Self) -> Self;
fn gmul(&self, rhs: &Self, bits: u8) -> Self;
}Required Methods§
fn lrot(&self) -> Self
fn rrot(&self) -> Self
fn xor(&self, rhs: &Self) -> Self
fn and(&self, rhs: &Self) -> Self
fn gmul(&self, rhs: &Self, bits: u8) -> 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.