Trait malachite_base::num::arithmetic::traits::RotateLeft

source ·
pub trait RotateLeft {
    type Output;

    // Required method
    fn rotate_left(self, n: u64) -> Self::Output;
}
Expand description

Rotates a number left, inserting the leftmost bits into the right end.

Required Associated Types§

Required Methods§

source

fn rotate_left(self, n: u64) -> Self::Output

Implementations on Foreign Types§

source§

impl RotateLeft for i8

source§

fn rotate_left(self, n: u64) -> i8

This is a wrapper over the rotate_left functions in the standard library, for example this one.

source§

type Output = i8

source§

impl RotateLeft for i16

source§

fn rotate_left(self, n: u64) -> i16

This is a wrapper over the rotate_left functions in the standard library, for example this one.

source§

type Output = i16

source§

impl RotateLeft for i32

source§

fn rotate_left(self, n: u64) -> i32

This is a wrapper over the rotate_left functions in the standard library, for example this one.

source§

type Output = i32

source§

impl RotateLeft for i64

source§

fn rotate_left(self, n: u64) -> i64

This is a wrapper over the rotate_left functions in the standard library, for example this one.

source§

type Output = i64

source§

impl RotateLeft for i128

source§

fn rotate_left(self, n: u64) -> i128

This is a wrapper over the rotate_left functions in the standard library, for example this one.

source§

type Output = i128

source§

impl RotateLeft for isize

source§

fn rotate_left(self, n: u64) -> isize

This is a wrapper over the rotate_left functions in the standard library, for example this one.

source§

type Output = isize

source§

impl RotateLeft for u8

source§

fn rotate_left(self, n: u64) -> u8

This is a wrapper over the rotate_left functions in the standard library, for example this one.

source§

type Output = u8

source§

impl RotateLeft for u16

source§

fn rotate_left(self, n: u64) -> u16

This is a wrapper over the rotate_left functions in the standard library, for example this one.

source§

type Output = u16

source§

impl RotateLeft for u32

source§

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

This is a wrapper over the rotate_left functions in the standard library, for example this one.

source§

type Output = u32

source§

impl RotateLeft for u64

source§

fn rotate_left(self, n: u64) -> u64

This is a wrapper over the rotate_left functions in the standard library, for example this one.

source§

type Output = u64

source§

impl RotateLeft for u128

source§

fn rotate_left(self, n: u64) -> u128

This is a wrapper over the rotate_left functions in the standard library, for example this one.

source§

type Output = u128

source§

impl RotateLeft for usize

source§

fn rotate_left(self, n: u64) -> usize

This is a wrapper over the rotate_left functions in the standard library, for example this one.

source§

type Output = usize

Implementors§