Trait rugflo::ShrRound
[−]
[src]
pub trait ShrRound<Rhs> { type Round; type Ordering; type Output; fn shr_round(
self,
rhs: Rhs,
round: Self::Round
) -> (Self::Output, Self::Ordering); }
Provides the right shift operation with a specified rounding method.
Associated Types
type Round
The rounding method.
type Ordering
The direction from rounding.
type Output
The resulting type after the right shift operation.
Required Methods
fn shr_round(
self,
rhs: Rhs,
round: Self::Round
) -> (Self::Output, Self::Ordering)
self,
rhs: Rhs,
round: Self::Round
) -> (Self::Output, Self::Ordering)
Performs the right shift operation.