Trait wiwi::num::ShlChecked

source ·
pub trait ShlChecked: Shl {
    // Required method
    fn shl_checked(self, rhs: Self) -> Option<Self>;
}
Expand description

Checked left shift

Required Methods§

source

fn shl_checked(self, rhs: Self) -> Option<Self>

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl ShlChecked for i8

source§

fn shl_checked(self, rhs: i8) -> Option<i8>

source§

impl ShlChecked for i16

source§

fn shl_checked(self, rhs: i16) -> Option<i16>

source§

impl ShlChecked for i32

source§

fn shl_checked(self, rhs: i32) -> Option<i32>

source§

impl ShlChecked for i64

source§

fn shl_checked(self, rhs: i64) -> Option<i64>

source§

impl ShlChecked for i128

source§

fn shl_checked(self, rhs: i128) -> Option<i128>

source§

impl ShlChecked for isize

source§

impl ShlChecked for u8

source§

fn shl_checked(self, rhs: u8) -> Option<u8>

source§

impl ShlChecked for u16

source§

fn shl_checked(self, rhs: u16) -> Option<u16>

source§

impl ShlChecked for u32

source§

fn shl_checked(self, rhs: u32) -> Option<u32>

source§

impl ShlChecked for u64

source§

fn shl_checked(self, rhs: u64) -> Option<u64>

source§

impl ShlChecked for u128

source§

fn shl_checked(self, rhs: u128) -> Option<u128>

source§

impl ShlChecked for usize

Implementors§