Keyboard shortcuts

Press or to navigate between chapters

Press ? to show this help

Press Esc to hide this help

BitShift

Fully qualified path: alexandria_math::BitShift

pub trait BitShift<
    T, +Sub<T>, +Mul<T>, +Div<T>, +Rem<T>, +PartialEq<T>, +Into<u8, T>, +Drop<T>, +Copy<T>,
>

Trait functions

shl

Fully qualified path: alexandria_math::BitShift::shl

fn shl(x: T, n: T) -> T

shr

Fully qualified path: alexandria_math::BitShift::shr

fn shr(x: T, n: T) -> T