Trait OverflowingShr

Source
pub trait OverflowingShr: Sized {
    // Required method
    fn overflowing_shr(self, rhs: u32) -> (Self, bool);
}

Required Methods§

Source

fn overflowing_shr(self, rhs: u32) -> (Self, bool)

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl OverflowingShr for u8

Source§

fn overflowing_shr(self, rhs: u32) -> (u8, bool)

Source§

impl OverflowingShr for u16

Source§

fn overflowing_shr(self, rhs: u32) -> (u16, bool)

Source§

impl OverflowingShr for u32

Source§

fn overflowing_shr(self, rhs: u32) -> (u32, bool)

Source§

impl OverflowingShr for u64

Source§

fn overflowing_shr(self, rhs: u32) -> (u64, bool)

Implementors§

Source§

impl<T: MachineWord, const N: usize> OverflowingShr for FixedUInt<T, N>