Trait std::ops::Shr
[−]
[src]
pub trait Shr<RHS> { type Output; fn shr(self, rhs: RHS) -> Self::Output; }
The Shr
trait is used to specify the functionality of >>
.
Examples
A trivial implementation of Shr
. When Foo >> Foo
happens, it ends up
calling shr
, and therefore, main
prints Shifting right!
.
use std::ops::Shr; struct Foo; impl Shr<Foo> for Foo { type Output = Foo; fn shr(self, _rhs: Foo) -> Foo { println!("Shifting right!"); self } } fn main() { Foo >> Foo; }
Associated Types
type Output
The resulting type after applying the >>
operator
Required Methods
Implementors
impl<'a, 'b> Shr for &'b isize
impl<'a> Shr for isize
impl<'a> Shr for &'a isize
impl Shr for isize
impl<'a, 'b> Shr for &'b isize
impl<'a> Shr for isize
impl<'a> Shr for &'a isize
impl Shr for isize
impl<'a, 'b> Shr for &'b isize
impl<'a> Shr for isize
impl<'a> Shr for &'a isize
impl Shr for isize
impl<'a, 'b> Shr for &'b isize
impl<'a> Shr for isize
impl<'a> Shr for &'a isize
impl Shr for isize
impl<'a, 'b> Shr for &'b isize
impl<'a> Shr for isize
impl<'a> Shr for &'a isize
impl Shr for isize
impl<'a, 'b> Shr for &'b isize
impl<'a> Shr for isize
impl<'a> Shr for &'a isize
impl Shr for isize
impl<'a, 'b> Shr for &'b isize
impl<'a> Shr for isize
impl<'a> Shr for &'a isize
impl Shr for isize
impl<'a, 'b> Shr for &'b isize
impl<'a> Shr for isize
impl<'a> Shr for &'a isize
impl Shr for isize
impl<'a, 'b> Shr for &'b isize
impl<'a> Shr for isize
impl<'a> Shr for &'a isize
impl Shr for isize
impl<'a, 'b> Shr for &'b isize
impl<'a> Shr for isize
impl<'a> Shr for &'a isize
impl Shr for isize
impl<'a, 'b> Shr for &'b i64
impl<'a> Shr for i64
impl<'a> Shr for &'a i64
impl Shr for i64
impl<'a, 'b> Shr for &'b i64
impl<'a> Shr for i64
impl<'a> Shr for &'a i64
impl Shr for i64
impl<'a, 'b> Shr for &'b i64
impl<'a> Shr for i64
impl<'a> Shr for &'a i64
impl Shr for i64
impl<'a, 'b> Shr for &'b i64
impl<'a> Shr for i64
impl<'a> Shr for &'a i64
impl Shr for i64
impl<'a, 'b> Shr for &'b i64
impl<'a> Shr for i64
impl<'a> Shr for &'a i64
impl Shr for i64
impl<'a, 'b> Shr for &'b i64
impl<'a> Shr for i64
impl<'a> Shr for &'a i64
impl Shr for i64
impl<'a, 'b> Shr for &'b i64
impl<'a> Shr for i64
impl<'a> Shr for &'a i64
impl Shr for i64
impl<'a, 'b> Shr for &'b i64
impl<'a> Shr for i64
impl<'a> Shr for &'a i64
impl Shr for i64
impl<'a, 'b> Shr for &'b i64
impl<'a> Shr for i64
impl<'a> Shr for &'a i64
impl Shr for i64
impl<'a, 'b> Shr for &'b i64
impl<'a> Shr for i64
impl<'a> Shr for &'a i64
impl Shr for i64
impl<'a, 'b> Shr for &'b i32
impl<'a> Shr for i32
impl<'a> Shr for &'a i32
impl Shr for i32
impl<'a, 'b> Shr for &'b i32
impl<'a> Shr for i32
impl<'a> Shr for &'a i32
impl Shr for i32
impl<'a, 'b> Shr for &'b i32
impl<'a> Shr for i32
impl<'a> Shr for &'a i32
impl Shr for i32
impl<'a, 'b> Shr for &'b i32
impl<'a> Shr for i32
impl<'a> Shr for &'a i32
impl Shr for i32
impl<'a, 'b> Shr for &'b i32
impl<'a> Shr for i32
impl<'a> Shr for &'a i32
impl Shr for i32
impl<'a, 'b> Shr for &'b i32
impl<'a> Shr for i32
impl<'a> Shr for &'a i32
impl Shr for i32
impl<'a, 'b> Shr for &'b i32
impl<'a> Shr for i32
impl<'a> Shr for &'a i32
impl Shr for i32
impl<'a, 'b> Shr for &'b i32
impl<'a> Shr for i32
impl<'a> Shr for &'a i32
impl Shr for i32
impl<'a, 'b> Shr for &'b i32
impl<'a> Shr for i32
impl<'a> Shr for &'a i32
impl Shr for i32
impl<'a, 'b> Shr for &'b i32
impl<'a> Shr for i32
impl<'a> Shr for &'a i32
impl Shr for i32
impl<'a, 'b> Shr for &'b i16
impl<'a> Shr for i16
impl<'a> Shr for &'a i16
impl Shr for i16
impl<'a, 'b> Shr for &'b i16
impl<'a> Shr for i16
impl<'a> Shr for &'a i16
impl Shr for i16
impl<'a, 'b> Shr for &'b i16
impl<'a> Shr for i16
impl<'a> Shr for &'a i16
impl Shr for i16
impl<'a, 'b> Shr for &'b i16
impl<'a> Shr for i16
impl<'a> Shr for &'a i16
impl Shr for i16
impl<'a, 'b> Shr for &'b i16
impl<'a> Shr for i16
impl<'a> Shr for &'a i16
impl Shr for i16
impl<'a, 'b> Shr for &'b i16
impl<'a> Shr for i16
impl<'a> Shr for &'a i16
impl Shr for i16
impl<'a, 'b> Shr for &'b i16
impl<'a> Shr for i16
impl<'a> Shr for &'a i16
impl Shr for i16
impl<'a, 'b> Shr for &'b i16
impl<'a> Shr for i16
impl<'a> Shr for &'a i16
impl Shr for i16
impl<'a, 'b> Shr for &'b i16
impl<'a> Shr for i16
impl<'a> Shr for &'a i16
impl Shr for i16
impl<'a, 'b> Shr for &'b i16
impl<'a> Shr for i16
impl<'a> Shr for &'a i16
impl Shr for i16
impl<'a, 'b> Shr for &'b i8
impl<'a> Shr for i8
impl<'a> Shr for &'a i8
impl Shr for i8
impl<'a, 'b> Shr for &'b i8
impl<'a> Shr for i8
impl<'a> Shr for &'a i8
impl Shr for i8
impl<'a, 'b> Shr for &'b i8
impl<'a> Shr for i8
impl<'a> Shr for &'a i8
impl Shr for i8
impl<'a, 'b> Shr for &'b i8
impl<'a> Shr for i8
impl<'a> Shr for &'a i8
impl Shr for i8
impl<'a, 'b> Shr for &'b i8
impl<'a> Shr for i8
impl<'a> Shr for &'a i8
impl Shr for i8
impl<'a, 'b> Shr for &'b i8
impl<'a> Shr for i8
impl<'a> Shr for &'a i8
impl Shr for i8
impl<'a, 'b> Shr for &'b i8
impl<'a> Shr for i8
impl<'a> Shr for &'a i8
impl Shr for i8
impl<'a, 'b> Shr for &'b i8
impl<'a> Shr for i8
impl<'a> Shr for &'a i8
impl Shr for i8
impl<'a, 'b> Shr for &'b i8
impl<'a> Shr for i8
impl<'a> Shr for &'a i8
impl Shr for i8
impl<'a, 'b> Shr for &'b i8
impl<'a> Shr for i8
impl<'a> Shr for &'a i8
impl Shr for i8
impl<'a, 'b> Shr for &'b usize
impl<'a> Shr for usize
impl<'a> Shr for &'a usize
impl Shr for usize
impl<'a, 'b> Shr for &'b usize
impl<'a> Shr for usize
impl<'a> Shr for &'a usize
impl Shr for usize
impl<'a, 'b> Shr for &'b usize
impl<'a> Shr for usize
impl<'a> Shr for &'a usize
impl Shr for usize
impl<'a, 'b> Shr for &'b usize
impl<'a> Shr for usize
impl<'a> Shr for &'a usize
impl Shr for usize
impl<'a, 'b> Shr for &'b usize
impl<'a> Shr for usize
impl<'a> Shr for &'a usize
impl Shr for usize
impl<'a, 'b> Shr for &'b usize
impl<'a> Shr for usize
impl<'a> Shr for &'a usize
impl Shr for usize
impl<'a, 'b> Shr for &'b usize
impl<'a> Shr for usize
impl<'a> Shr for &'a usize
impl Shr for usize
impl<'a, 'b> Shr for &'b usize
impl<'a> Shr for usize
impl<'a> Shr for &'a usize
impl Shr for usize
impl<'a, 'b> Shr for &'b usize
impl<'a> Shr for usize
impl<'a> Shr for &'a usize
impl Shr for usize
impl<'a, 'b> Shr for &'b usize
impl<'a> Shr for usize
impl<'a> Shr for &'a usize
impl Shr for usize
impl<'a, 'b> Shr for &'b u64
impl<'a> Shr for u64
impl<'a> Shr for &'a u64
impl Shr for u64
impl<'a, 'b> Shr for &'b u64
impl<'a> Shr for u64
impl<'a> Shr for &'a u64
impl Shr for u64
impl<'a, 'b> Shr for &'b u64
impl<'a> Shr for u64
impl<'a> Shr for &'a u64
impl Shr for u64
impl<'a, 'b> Shr for &'b u64
impl<'a> Shr for u64
impl<'a> Shr for &'a u64
impl Shr for u64
impl<'a, 'b> Shr for &'b u64
impl<'a> Shr for u64
impl<'a> Shr for &'a u64
impl Shr for u64
impl<'a, 'b> Shr for &'b u64
impl<'a> Shr for u64
impl<'a> Shr for &'a u64
impl Shr for u64
impl<'a, 'b> Shr for &'b u64
impl<'a> Shr for u64
impl<'a> Shr for &'a u64
impl Shr for u64
impl<'a, 'b> Shr for &'b u64
impl<'a> Shr for u64
impl<'a> Shr for &'a u64
impl Shr for u64
impl<'a, 'b> Shr for &'b u64
impl<'a> Shr for u64
impl<'a> Shr for &'a u64
impl Shr for u64
impl<'a, 'b> Shr for &'b u64
impl<'a> Shr for u64
impl<'a> Shr for &'a u64
impl Shr for u64
impl<'a, 'b> Shr for &'b u32
impl<'a> Shr for u32
impl<'a> Shr for &'a u32
impl Shr for u32
impl<'a, 'b> Shr for &'b u32
impl<'a> Shr for u32
impl<'a> Shr for &'a u32
impl Shr for u32
impl<'a, 'b> Shr for &'b u32
impl<'a> Shr for u32
impl<'a> Shr for &'a u32
impl Shr for u32
impl<'a, 'b> Shr for &'b u32
impl<'a> Shr for u32
impl<'a> Shr for &'a u32
impl Shr for u32
impl<'a, 'b> Shr for &'b u32
impl<'a> Shr for u32
impl<'a> Shr for &'a u32
impl Shr for u32
impl<'a, 'b> Shr for &'b u32
impl<'a> Shr for u32
impl<'a> Shr for &'a u32
impl Shr for u32
impl<'a, 'b> Shr for &'b u32
impl<'a> Shr for u32
impl<'a> Shr for &'a u32
impl Shr for u32
impl<'a, 'b> Shr for &'b u32
impl<'a> Shr for u32
impl<'a> Shr for &'a u32
impl Shr for u32
impl<'a, 'b> Shr for &'b u32
impl<'a> Shr for u32
impl<'a> Shr for &'a u32
impl Shr for u32
impl<'a, 'b> Shr for &'b u32
impl<'a> Shr for u32
impl<'a> Shr for &'a u32
impl Shr for u32
impl<'a, 'b> Shr for &'b u16
impl<'a> Shr for u16
impl<'a> Shr for &'a u16
impl Shr for u16
impl<'a, 'b> Shr for &'b u16
impl<'a> Shr for u16
impl<'a> Shr for &'a u16
impl Shr for u16
impl<'a, 'b> Shr for &'b u16
impl<'a> Shr for u16
impl<'a> Shr for &'a u16
impl Shr for u16
impl<'a, 'b> Shr for &'b u16
impl<'a> Shr for u16
impl<'a> Shr for &'a u16
impl Shr for u16
impl<'a, 'b> Shr for &'b u16
impl<'a> Shr for u16
impl<'a> Shr for &'a u16
impl Shr for u16
impl<'a, 'b> Shr for &'b u16
impl<'a> Shr for u16
impl<'a> Shr for &'a u16
impl Shr for u16
impl<'a, 'b> Shr for &'b u16
impl<'a> Shr for u16
impl<'a> Shr for &'a u16
impl Shr for u16
impl<'a, 'b> Shr for &'b u16
impl<'a> Shr for u16
impl<'a> Shr for &'a u16
impl Shr for u16
impl<'a, 'b> Shr for &'b u16
impl<'a> Shr for u16
impl<'a> Shr for &'a u16
impl Shr for u16
impl<'a, 'b> Shr for &'b u16
impl<'a> Shr for u16
impl<'a> Shr for &'a u16
impl Shr for u16
impl<'a, 'b> Shr for &'b u8
impl<'a> Shr for u8
impl<'a> Shr for &'a u8
impl Shr for u8
impl<'a, 'b> Shr for &'b u8
impl<'a> Shr for u8
impl<'a> Shr for &'a u8
impl Shr for u8
impl<'a, 'b> Shr for &'b u8
impl<'a> Shr for u8
impl<'a> Shr for &'a u8
impl Shr for u8
impl<'a, 'b> Shr for &'b u8
impl<'a> Shr for u8
impl<'a> Shr for &'a u8
impl Shr for u8
impl<'a, 'b> Shr for &'b u8
impl<'a> Shr for u8
impl<'a> Shr for &'a u8
impl Shr for u8
impl<'a, 'b> Shr for &'b u8
impl<'a> Shr for u8
impl<'a> Shr for &'a u8
impl Shr for u8
impl<'a, 'b> Shr for &'b u8
impl<'a> Shr for u8
impl<'a> Shr for &'a u8
impl Shr for u8
impl<'a, 'b> Shr for &'b u8
impl<'a> Shr for u8
impl<'a> Shr for &'a u8
impl Shr for u8
impl<'a, 'b> Shr for &'b u8
impl<'a> Shr for u8
impl<'a> Shr for &'a u8
impl Shr for u8
impl<'a, 'b> Shr for &'b u8
impl<'a> Shr for u8
impl<'a> Shr for &'a u8
impl Shr for u8
impl Shr for Wrapping<isize>
impl Shr for Wrapping<i64>
impl Shr for Wrapping<i32>
impl Shr for Wrapping<i16>
impl Shr for Wrapping<i8>
impl Shr for Wrapping<usize>
impl Shr for Wrapping<u64>
impl Shr for Wrapping<u32>
impl Shr for Wrapping<u16>
impl Shr for Wrapping<u8>