pub trait LaneSize:
Copy
+ Clone
+ Debug
+ Default
+ PartialEq
+ BitAndAssign
+ BitAnd<Output = Self>
+ BitXorAssign
+ BitXor<Output = Self>
+ Not<Output = Self> {
const KECCAK_F_ROUND_COUNT: usize;
// Required methods
fn truncate_rc(rc: u64) -> Self;
fn rotate_left(self, n: u32) -> Self;
}
Expand description
Keccak is a permutation over an array of lanes which comprise the sponge construction.
Required Associated Constants§
Sourceconst KECCAK_F_ROUND_COUNT: usize
const KECCAK_F_ROUND_COUNT: usize
Number of rounds of the Keccak-f permutation.
Required Methods§
Sourcefn truncate_rc(rc: u64) -> Self
fn truncate_rc(rc: u64) -> Self
Truncate function.
Sourcefn rotate_left(self, n: u32) -> Self
fn rotate_left(self, n: u32) -> Self
Rotate left function.
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.