Trait BitShift

Source
pub trait BitShift {
    // Required methods
    fn left_shift(&self, n: &Self) -> Self;
    fn right_shift(&self, n: &Self) -> Self;
}

Required Methods§

Source

fn left_shift(&self, n: &Self) -> Self

Source

fn right_shift(&self, n: &Self) -> Self

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.

Implementors§