Trait RotateRight

Source
pub trait RotateRight {
    type Output;

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

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

Required Associated Types§

Required Methods§

Source

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

Implementations on Foreign Types§

Source§

impl RotateRight for i8

Source§

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

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

Source§

type Output = i8

Source§

impl RotateRight for i16

Source§

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

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

Source§

type Output = i16

Source§

impl RotateRight for i32

Source§

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

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

Source§

type Output = i32

Source§

impl RotateRight for i64

Source§

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

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

Source§

type Output = i64

Source§

impl RotateRight for i128

Source§

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

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

Source§

type Output = i128

Source§

impl RotateRight for isize

Source§

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

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

Source§

type Output = isize

Source§

impl RotateRight for u8

Source§

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

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

Source§

type Output = u8

Source§

impl RotateRight for u16

Source§

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

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

Source§

type Output = u16

Source§

impl RotateRight for u32

Source§

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

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

Source§

type Output = u32

Source§

impl RotateRight for u64

Source§

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

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

Source§

type Output = u64

Source§

impl RotateRight for u128

Source§

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

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

Source§

type Output = u128

Source§

impl RotateRight for usize

Source§

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

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

Source§

type Output = usize

Implementors§