Skip to main content

LaneSize

Trait LaneSize 

Source
pub trait LaneSize:
    Copy
    + Clone
    + Default
    + PartialEq
    + BitAndAssign
    + BitAnd<Output = Self>
    + BitXorAssign
    + BitXor<Output = Self>
    + Not<Output = Self>
    + 'static {
    const RC: &[Self];

    // Required method
    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§

Source

const RC: &[Self]

Round constants

Required Methods§

Source

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.

Implementations on Foreign Types§

Source§

impl LaneSize for u8

Source§

const RC: &[Self]

Source§

fn rotate_left(self, n: u32) -> Self

Source§

impl LaneSize for u16

Source§

const RC: &[Self]

Source§

fn rotate_left(self, n: u32) -> Self

Source§

impl LaneSize for u32

Source§

const RC: &[Self]

Source§

fn rotate_left(self, n: u32) -> Self

Source§

impl LaneSize for u64

Source§

const RC: &[Self]

Source§

fn rotate_left(self, n: u32) -> Self

Implementors§