Keyboard shortcuts

Press or to navigate between chapters

Press ? to show this help

Press Esc to hide this help

OptBitRotate

Optimized bit rotation trait.

Fully qualified path: alexandria_math::opt_math::OptBitRotate

pub trait OptBitRotate<T, +WideMul<T, T>>

Trait functions

rotl

Fully qualified path: alexandria_math::opt_math::OptBitRotate::rotl

fn rotl(x: T, n: u8) -> T

rotr

Fully qualified path: alexandria_math::opt_math::OptBitRotate::rotr

fn rotr(x: T, n: u8) -> T