Trait malachite_base::num::arithmetic::traits::RotateLeftAssign
source · pub trait RotateLeftAssign {
fn rotate_left_assign(&mut self, n: u64);
}
Expand description
Rotates a number left, inserting the leftmost bits into the right end, in place.
Required Methods§
fn rotate_left_assign(&mut self, n: u64)
Implementations on Foreign Types§
source§impl RotateLeftAssign for u8
impl RotateLeftAssign for u8
source§fn rotate_left_assign(&mut self, n: u64)
fn rotate_left_assign(&mut self, n: u64)
Rotates a number left, in place.
Worst-case complexity
Constant time and additional memory.
Examples
See here.
source§impl RotateLeftAssign for u16
impl RotateLeftAssign for u16
source§fn rotate_left_assign(&mut self, n: u64)
fn rotate_left_assign(&mut self, n: u64)
Rotates a number left, in place.
Worst-case complexity
Constant time and additional memory.
Examples
See here.
source§impl RotateLeftAssign for u32
impl RotateLeftAssign for u32
source§fn rotate_left_assign(&mut self, n: u64)
fn rotate_left_assign(&mut self, n: u64)
Rotates a number left, in place.
Worst-case complexity
Constant time and additional memory.
Examples
See here.
source§impl RotateLeftAssign for u64
impl RotateLeftAssign for u64
source§fn rotate_left_assign(&mut self, n: u64)
fn rotate_left_assign(&mut self, n: u64)
Rotates a number left, in place.
Worst-case complexity
Constant time and additional memory.
Examples
See here.
source§impl RotateLeftAssign for u128
impl RotateLeftAssign for u128
source§fn rotate_left_assign(&mut self, n: u64)
fn rotate_left_assign(&mut self, n: u64)
Rotates a number left, in place.
Worst-case complexity
Constant time and additional memory.
Examples
See here.
source§impl RotateLeftAssign for usize
impl RotateLeftAssign for usize
source§fn rotate_left_assign(&mut self, n: u64)
fn rotate_left_assign(&mut self, n: u64)
Rotates a number left, in place.
Worst-case complexity
Constant time and additional memory.
Examples
See here.
source§impl RotateLeftAssign for i8
impl RotateLeftAssign for i8
source§fn rotate_left_assign(&mut self, n: u64)
fn rotate_left_assign(&mut self, n: u64)
Rotates a number left, in place.
Worst-case complexity
Constant time and additional memory.
Examples
See here.
source§impl RotateLeftAssign for i16
impl RotateLeftAssign for i16
source§fn rotate_left_assign(&mut self, n: u64)
fn rotate_left_assign(&mut self, n: u64)
Rotates a number left, in place.
Worst-case complexity
Constant time and additional memory.
Examples
See here.
source§impl RotateLeftAssign for i32
impl RotateLeftAssign for i32
source§fn rotate_left_assign(&mut self, n: u64)
fn rotate_left_assign(&mut self, n: u64)
Rotates a number left, in place.
Worst-case complexity
Constant time and additional memory.
Examples
See here.
source§impl RotateLeftAssign for i64
impl RotateLeftAssign for i64
source§fn rotate_left_assign(&mut self, n: u64)
fn rotate_left_assign(&mut self, n: u64)
Rotates a number left, in place.
Worst-case complexity
Constant time and additional memory.
Examples
See here.
source§impl RotateLeftAssign for i128
impl RotateLeftAssign for i128
source§fn rotate_left_assign(&mut self, n: u64)
fn rotate_left_assign(&mut self, n: u64)
Rotates a number left, in place.
Worst-case complexity
Constant time and additional memory.
Examples
See here.
source§impl RotateLeftAssign for isize
impl RotateLeftAssign for isize
source§fn rotate_left_assign(&mut self, n: u64)
fn rotate_left_assign(&mut self, n: u64)
Rotates a number left, in place.
Worst-case complexity
Constant time and additional memory.
Examples
See here.