Keyboard shortcuts

Press or to navigate between chapters

Press ? to show this help

Press Esc to hide this help

U16BitShift

Fully qualified path: alexandria_math::U16BitShift

pub impl U16BitShift of BitShift<
    u16,
    U16Sub,
    U16Mul,
    DivImpl<u16, U16DivRem, U16TryIntoNonZero, u16Drop>,
    RemImpl<u16, U16DivRem, U16TryIntoNonZero, u16Drop>,
    U16PartialEq,
    UpcastableInto<u8, u16, UpcastableU8U16>,
    u16Drop,
    u16Copy,
>;

Impl functions

shl

Fully qualified path: alexandria_math::U16BitShift::shl

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