Trait rug::ops::AssignRound
[−]
[src]
pub trait AssignRound<Rhs = Self> { type Round; type Ordering; fn assign_round(&mut self, rhs: Rhs, round: Self::Round) -> Self::Ordering; }
Assignment with a specified rounding method.
Examples
use rug::float::Round; use rug::ops::AssignRound; use std::cmp::Ordering; struct F(f64); impl AssignRound<f64> for F { type Round = Round; type Ordering = Ordering; fn assign_round(&mut self, rhs: f64, _round: Round) -> Ordering { self.0 = rhs; Ordering::Equal } } let mut f = F(3.0); let dir = f.assign_round(5.0, Round::Nearest); assert_eq!(f.0, 5.0); assert_eq!(dir, Ordering::Equal);
Associated Types
Required Methods
fn assign_round(&mut self, rhs: Rhs, round: Self::Round) -> Self::Ordering
Peforms the assignment.
Examples
use rug::Float; use rug::float::Round; use rug::ops::AssignRound; use std::cmp::Ordering; // only four significant bits let mut f = Float::new(4); let dir = f.assign_round(3.3, Round::Nearest); // 3.3 rounded down to 3.25 assert_eq!(f, 3.25); assert_eq!(dir, Ordering::Less); let dir = f.assign_round(3.3, Round::Up); // 3.3 rounded up to 3.5 assert_eq!(f, 3.5); assert_eq!(dir, Ordering::Greater);
Implementations on Foreign Types
impl<'a> AssignRound<SinCosRef<'a>> for (Float, Float)
[src]
impl<'a, 'b, 'c> AssignRound<SinCosRef<'a>> for (&'b mut Float, &'c mut Float)
[src]
impl<'a> AssignRound<SinhCoshRef<'a>> for (Float, Float)
[src]
impl<'a, 'b, 'c> AssignRound<SinhCoshRef<'a>> for (&'b mut Float, &'c mut Float)
[src]
impl<'a> AssignRound<LnAbsGammaRef<'a>> for (Float, Ordering)
[src]
impl<'a, 'b, 'c> AssignRound<LnAbsGammaRef<'a>> for (&'b mut Float, &'c mut Ordering)
[src]
impl<'a> AssignRound<TruncFractRef<'a>> for (Float, Float)
[src]
impl<'a, 'b, 'c> AssignRound<TruncFractRef<'a>> for (&'b mut Float, &'c mut Float)
[src]
impl<'a> AssignRound<SinCosRef<'a>> for (Complex, Complex)
[src]
impl<'a, 'b, 'c> AssignRound<SinCosRef<'a>> for (&'b mut Complex, &'c mut Complex)
[src]
Implementors
impl<'a> AssignRound<SquareRef<'a>> for Float type Round = Round; type Ordering = Ordering;
impl<'a> AssignRound<SqrtRef<'a>> for Float type Round = Round; type Ordering = Ordering;
impl<'a> AssignRound<RecipSqrtRef<'a>> for Float type Round = Round; type Ordering = Ordering;
impl<'a> AssignRound<CbrtRef<'a>> for Float type Round = Round; type Ordering = Ordering;
impl<'a> AssignRound<RootRef<'a>> for Float type Round = Round; type Ordering = Ordering;
impl<'a> AssignRound<AbsRef<'a>> for Float type Round = Round; type Ordering = Ordering;
impl<'a, Min, Max> AssignRound<ClampRef<'a, Min, Max>> for Float where
Float: PartialOrd<Min> + PartialOrd<Max> + AssignRound<&'a Min, Round = Round, Ordering = Ordering> + AssignRound<&'a Max, Round = Round, Ordering = Ordering>,
Min: 'a,
Max: 'a, type Round = Round; type Ordering = Ordering;impl<'a> AssignRound<RecipRef<'a>> for Float type Round = Round; type Ordering = Ordering;
impl<'a> AssignRound<MinRef<'a>> for Float type Round = Round; type Ordering = Ordering;
impl<'a> AssignRound<MaxRef<'a>> for Float type Round = Round; type Ordering = Ordering;
impl<'a> AssignRound<PositiveDiffRef<'a>> for Float type Round = Round; type Ordering = Ordering;
impl<'a> AssignRound<LnRef<'a>> for Float type Round = Round; type Ordering = Ordering;
impl<'a> AssignRound<Log2Ref<'a>> for Float type Round = Round; type Ordering = Ordering;
impl<'a> AssignRound<Log10Ref<'a>> for Float type Round = Round; type Ordering = Ordering;
impl<'a> AssignRound<ExpRef<'a>> for Float type Round = Round; type Ordering = Ordering;
impl<'a> AssignRound<Exp2Ref<'a>> for Float type Round = Round; type Ordering = Ordering;
impl<'a> AssignRound<Exp10Ref<'a>> for Float type Round = Round; type Ordering = Ordering;
impl<'a> AssignRound<SinRef<'a>> for Float type Round = Round; type Ordering = Ordering;
impl<'a> AssignRound<CosRef<'a>> for Float type Round = Round; type Ordering = Ordering;
impl<'a> AssignRound<TanRef<'a>> for Float type Round = Round; type Ordering = Ordering;
impl<'a> AssignRound<SecRef<'a>> for Float type Round = Round; type Ordering = Ordering;
impl<'a> AssignRound<CscRef<'a>> for Float type Round = Round; type Ordering = Ordering;
impl<'a> AssignRound<CotRef<'a>> for Float type Round = Round; type Ordering = Ordering;
impl<'a> AssignRound<AcosRef<'a>> for Float type Round = Round; type Ordering = Ordering;
impl<'a> AssignRound<AsinRef<'a>> for Float type Round = Round; type Ordering = Ordering;
impl<'a> AssignRound<AtanRef<'a>> for Float type Round = Round; type Ordering = Ordering;
impl<'a> AssignRound<Atan2Ref<'a>> for Float type Round = Round; type Ordering = Ordering;
impl<'a> AssignRound<CoshRef<'a>> for Float type Round = Round; type Ordering = Ordering;
impl<'a> AssignRound<SinhRef<'a>> for Float type Round = Round; type Ordering = Ordering;
impl<'a> AssignRound<TanhRef<'a>> for Float type Round = Round; type Ordering = Ordering;
impl<'a> AssignRound<SechRef<'a>> for Float type Round = Round; type Ordering = Ordering;
impl<'a> AssignRound<CschRef<'a>> for Float type Round = Round; type Ordering = Ordering;
impl<'a> AssignRound<CothRef<'a>> for Float type Round = Round; type Ordering = Ordering;
impl<'a> AssignRound<AcoshRef<'a>> for Float type Round = Round; type Ordering = Ordering;
impl<'a> AssignRound<AsinhRef<'a>> for Float type Round = Round; type Ordering = Ordering;
impl<'a> AssignRound<AtanhRef<'a>> for Float type Round = Round; type Ordering = Ordering;
impl<'a> AssignRound<Ln1pRef<'a>> for Float type Round = Round; type Ordering = Ordering;
impl<'a> AssignRound<ExpM1Ref<'a>> for Float type Round = Round; type Ordering = Ordering;
impl<'a> AssignRound<EintRef<'a>> for Float type Round = Round; type Ordering = Ordering;
impl<'a> AssignRound<Li2Ref<'a>> for Float type Round = Round; type Ordering = Ordering;
impl<'a> AssignRound<GammaRef<'a>> for Float type Round = Round; type Ordering = Ordering;
impl<'a> AssignRound<LnGammaRef<'a>> for Float type Round = Round; type Ordering = Ordering;
impl<'a> AssignRound<DigammaRef<'a>> for Float type Round = Round; type Ordering = Ordering;
impl<'a> AssignRound<ZetaRef<'a>> for Float type Round = Round; type Ordering = Ordering;
impl<'a> AssignRound<ErfRef<'a>> for Float type Round = Round; type Ordering = Ordering;
impl<'a> AssignRound<ErfcRef<'a>> for Float type Round = Round; type Ordering = Ordering;
impl<'a> AssignRound<J0Ref<'a>> for Float type Round = Round; type Ordering = Ordering;
impl<'a> AssignRound<J1Ref<'a>> for Float type Round = Round; type Ordering = Ordering;
impl<'a> AssignRound<JnRef<'a>> for Float type Round = Round; type Ordering = Ordering;
impl<'a> AssignRound<Y0Ref<'a>> for Float type Round = Round; type Ordering = Ordering;
impl<'a> AssignRound<Y1Ref<'a>> for Float type Round = Round; type Ordering = Ordering;
impl<'a> AssignRound<YnRef<'a>> for Float type Round = Round; type Ordering = Ordering;
impl<'a> AssignRound<AgmRef<'a>> for Float type Round = Round; type Ordering = Ordering;
impl<'a> AssignRound<HypotRef<'a>> for Float type Round = Round; type Ordering = Ordering;
impl<'a> AssignRound<AiRef<'a>> for Float type Round = Round; type Ordering = Ordering;
impl<'a> AssignRound<CeilRef<'a>> for Float type Round = Round; type Ordering = Ordering;
impl<'a> AssignRound<FloorRef<'a>> for Float type Round = Round; type Ordering = Ordering;
impl<'a> AssignRound<RoundRef<'a>> for Float type Round = Round; type Ordering = Ordering;
impl<'a> AssignRound<TruncRef<'a>> for Float type Round = Round; type Ordering = Ordering;
impl<'a> AssignRound<FractRef<'a>> for Float type Round = Round; type Ordering = Ordering;
impl<'a> AssignRound<ValidFloat<'a>> for Float type Round = Round; type Ordering = Ordering;
impl<'a> AssignRound<NegRef<'a>> for Float type Round = Round; type Ordering = Ordering;
impl<'a> AssignRound<AddRef<'a>> for Float type Round = Round; type Ordering = Ordering;
impl<'a> AssignRound<SubRef<'a>> for Float type Round = Round; type Ordering = Ordering;
impl<'a> AssignRound<MulRef<'a>> for Float type Round = Round; type Ordering = Ordering;
impl<'a> AssignRound<DivRef<'a>> for Float type Round = Round; type Ordering = Ordering;
impl<'a> AssignRound<PowRef<'a>> for Float type Round = Round; type Ordering = Ordering;
impl<'a> AssignRound<AddRefInteger<'a>> for Float type Round = Round; type Ordering = Ordering;
impl<'a> AssignRound<AddRefIntegerOwn<'a>> for Float type Round = Round; type Ordering = Ordering;
impl<'a> AssignRound<SubRefInteger<'a>> for Float type Round = Round; type Ordering = Ordering;
impl<'a> AssignRound<SubFromRefInteger<'a>> for Float type Round = Round; type Ordering = Ordering;
impl<'a> AssignRound<SubRefIntegerOwn<'a>> for Float type Round = Round; type Ordering = Ordering;
impl<'a> AssignRound<SubFromRefIntegerOwn<'a>> for Float type Round = Round; type Ordering = Ordering;
impl<'a> AssignRound<MulRefInteger<'a>> for Float type Round = Round; type Ordering = Ordering;
impl<'a> AssignRound<MulRefIntegerOwn<'a>> for Float type Round = Round; type Ordering = Ordering;
impl<'a> AssignRound<DivRefInteger<'a>> for Float type Round = Round; type Ordering = Ordering;
impl<'a> AssignRound<DivFromRefInteger<'a>> for Float type Round = Round; type Ordering = Ordering;
impl<'a> AssignRound<DivRefIntegerOwn<'a>> for Float type Round = Round; type Ordering = Ordering;
impl<'a> AssignRound<DivFromRefIntegerOwn<'a>> for Float type Round = Round; type Ordering = Ordering;
impl<'a> AssignRound<PowRefInteger<'a>> for Float type Round = Round; type Ordering = Ordering;
impl<'a> AssignRound<PowRefIntegerOwn<'a>> for Float type Round = Round; type Ordering = Ordering;
impl<'a> AssignRound<AddRefRational<'a>> for Float type Round = Round; type Ordering = Ordering;
impl<'a> AssignRound<AddRefRationalOwn<'a>> for Float type Round = Round; type Ordering = Ordering;
impl<'a> AssignRound<SubRefRational<'a>> for Float type Round = Round; type Ordering = Ordering;
impl<'a> AssignRound<SubFromRefRational<'a>> for Float type Round = Round; type Ordering = Ordering;
impl<'a> AssignRound<SubRefRationalOwn<'a>> for Float type Round = Round; type Ordering = Ordering;
impl<'a> AssignRound<SubFromRefRationalOwn<'a>> for Float type Round = Round; type Ordering = Ordering;
impl<'a> AssignRound<MulRefRational<'a>> for Float type Round = Round; type Ordering = Ordering;
impl<'a> AssignRound<MulRefRationalOwn<'a>> for Float type Round = Round; type Ordering = Ordering;
impl<'a> AssignRound<DivRefRational<'a>> for Float type Round = Round; type Ordering = Ordering;
impl<'a> AssignRound<DivFromRefRational<'a>> for Float type Round = Round; type Ordering = Ordering;
impl<'a> AssignRound<DivRefRationalOwn<'a>> for Float type Round = Round; type Ordering = Ordering;
impl<'a> AssignRound<DivFromRefRationalOwn<'a>> for Float type Round = Round; type Ordering = Ordering;
impl<'a> AssignRound<AddRefI32<'a>> for Float type Round = Round; type Ordering = Ordering;
impl<'a> AssignRound<SubRefI32<'a>> for Float type Round = Round; type Ordering = Ordering;
impl<'a> AssignRound<SubFromRefI32<'a>> for Float type Round = Round; type Ordering = Ordering;
impl<'a> AssignRound<MulRefI32<'a>> for Float type Round = Round; type Ordering = Ordering;
impl<'a> AssignRound<DivRefI32<'a>> for Float type Round = Round; type Ordering = Ordering;
impl<'a> AssignRound<DivFromRefI32<'a>> for Float type Round = Round; type Ordering = Ordering;
impl<'a> AssignRound<AddRefU32<'a>> for Float type Round = Round; type Ordering = Ordering;
impl<'a> AssignRound<SubRefU32<'a>> for Float type Round = Round; type Ordering = Ordering;
impl<'a> AssignRound<SubFromRefU32<'a>> for Float type Round = Round; type Ordering = Ordering;
impl<'a> AssignRound<MulRefU32<'a>> for Float type Round = Round; type Ordering = Ordering;
impl<'a> AssignRound<DivRefU32<'a>> for Float type Round = Round; type Ordering = Ordering;
impl<'a> AssignRound<DivFromRefU32<'a>> for Float type Round = Round; type Ordering = Ordering;
impl<'a> AssignRound<AddRefF32<'a>> for Float type Round = Round; type Ordering = Ordering;
impl<'a> AssignRound<SubRefF32<'a>> for Float type Round = Round; type Ordering = Ordering;
impl<'a> AssignRound<SubFromRefF32<'a>> for Float type Round = Round; type Ordering = Ordering;
impl<'a> AssignRound<MulRefF32<'a>> for Float type Round = Round; type Ordering = Ordering;
impl<'a> AssignRound<DivRefF32<'a>> for Float type Round = Round; type Ordering = Ordering;
impl<'a> AssignRound<DivFromRefF32<'a>> for Float type Round = Round; type Ordering = Ordering;
impl<'a> AssignRound<AddRefF64<'a>> for Float type Round = Round; type Ordering = Ordering;
impl<'a> AssignRound<SubRefF64<'a>> for Float type Round = Round; type Ordering = Ordering;
impl<'a> AssignRound<SubFromRefF64<'a>> for Float type Round = Round; type Ordering = Ordering;
impl<'a> AssignRound<MulRefF64<'a>> for Float type Round = Round; type Ordering = Ordering;
impl<'a> AssignRound<DivRefF64<'a>> for Float type Round = Round; type Ordering = Ordering;
impl<'a> AssignRound<DivFromRefF64<'a>> for Float type Round = Round; type Ordering = Ordering;
impl<'a> AssignRound<ShlRefU32<'a>> for Float type Round = Round; type Ordering = Ordering;
impl<'a> AssignRound<ShrRefU32<'a>> for Float type Round = Round; type Ordering = Ordering;
impl<'a> AssignRound<PowRefU32<'a>> for Float type Round = Round; type Ordering = Ordering;
impl<'a> AssignRound<PowFromRefU32<'a>> for Float type Round = Round; type Ordering = Ordering;
impl<'a> AssignRound<ShlRefI32<'a>> for Float type Round = Round; type Ordering = Ordering;
impl<'a> AssignRound<ShrRefI32<'a>> for Float type Round = Round; type Ordering = Ordering;
impl<'a> AssignRound<PowRefI32<'a>> for Float type Round = Round; type Ordering = Ordering;
impl<'a> AssignRound<PowFromRefI32<'a>> for Float type Round = Round; type Ordering = Ordering;
impl<'a> AssignRound<PowRefF64<'a>> for Float type Round = Round; type Ordering = Ordering;
impl<'a> AssignRound<PowFromRefF64<'a>> for Float type Round = Round; type Ordering = Ordering;
impl<'a> AssignRound<PowRefF32<'a>> for Float type Round = Round; type Ordering = Ordering;
impl<'a> AssignRound<PowFromRefF32<'a>> for Float type Round = Round; type Ordering = Ordering;
impl<'a> AssignRound<AddMulRef<'a>> for Float type Round = Round; type Ordering = Ordering;
impl<'a> AssignRound<SubMulRef<'a>> for Float type Round = Round; type Ordering = Ordering;
impl<'a> AssignRound<SubMulFromRef<'a>> for Float type Round = Round; type Ordering = Ordering;
impl AssignRound<Constant> for Float type Round = Round; type Ordering = Ordering;
impl AssignRound<Special> for Float type Round = Round; type Ordering = Ordering;
impl<'a> AssignRound<&'a Constant> for Float type Round = <Float as AssignRound<Constant>>::Round; type Ordering = <Float as AssignRound<Constant>>::Ordering;
impl<'a> AssignRound<&'a Special> for Float type Round = <Float as AssignRound<Special>>::Round; type Ordering = <Float as AssignRound<Special>>::Ordering;
impl<'a> AssignRound<&'a Float> for Float type Round = Round; type Ordering = Ordering;
impl AssignRound<Float> for Float type Round = Round; type Ordering = Ordering;
impl<'a> AssignRound<&'a Integer> for Float type Round = Round; type Ordering = Ordering;
impl AssignRound<Integer> for Float type Round = Round; type Ordering = Ordering;
impl<'a> AssignRound<&'a Rational> for Float type Round = Round; type Ordering = Ordering;
impl AssignRound<Rational> for Float type Round = Round; type Ordering = Ordering;
impl AssignRound<i32> for Float type Round = Round; type Ordering = Ordering;
impl<'a> AssignRound<&'a i32> for Float type Round = <Float as AssignRound<i32>>::Round; type Ordering = <Float as AssignRound<i32>>::Ordering;
impl AssignRound<i64> for Float type Round = Round; type Ordering = Ordering;
impl<'a> AssignRound<&'a i64> for Float type Round = <Float as AssignRound<i64>>::Round; type Ordering = <Float as AssignRound<i64>>::Ordering;
impl AssignRound<u32> for Float type Round = Round; type Ordering = Ordering;
impl<'a> AssignRound<&'a u32> for Float type Round = <Float as AssignRound<u32>>::Round; type Ordering = <Float as AssignRound<u32>>::Ordering;
impl AssignRound<u64> for Float type Round = Round; type Ordering = Ordering;
impl<'a> AssignRound<&'a u64> for Float type Round = <Float as AssignRound<u64>>::Round; type Ordering = <Float as AssignRound<u64>>::Ordering;
impl AssignRound<f32> for Float type Round = Round; type Ordering = Ordering;
impl<'a> AssignRound<&'a f32> for Float type Round = <Float as AssignRound<f32>>::Round; type Ordering = <Float as AssignRound<f32>>::Ordering;
impl AssignRound<f64> for Float type Round = Round; type Ordering = Ordering;
impl<'a> AssignRound<&'a f64> for Float type Round = <Float as AssignRound<f64>>::Round; type Ordering = <Float as AssignRound<f64>>::Ordering;
impl<'a> AssignRound<ProjRef<'a>> for Complex type Round = (Round, Round); type Ordering = (Ordering, Ordering);
impl<'a> AssignRound<SquareRef<'a>> for Complex type Round = (Round, Round); type Ordering = (Ordering, Ordering);
impl<'a> AssignRound<SqrtRef<'a>> for Complex type Round = (Round, Round); type Ordering = (Ordering, Ordering);
impl<'a> AssignRound<ConjugateRef<'a>> for Complex type Round = (Round, Round); type Ordering = (Ordering, Ordering);
impl<'a> AssignRound<AbsRef<'a>> for Float type Round = Round; type Ordering = Ordering;
impl<'a> AssignRound<ArgRef<'a>> for Float type Round = Round; type Ordering = Ordering;
impl<'a> AssignRound<MulIRef<'a>> for Complex type Round = (Round, Round); type Ordering = (Ordering, Ordering);
impl<'a> AssignRound<RecipRef<'a>> for Complex type Round = (Round, Round); type Ordering = (Ordering, Ordering);
impl<'a> AssignRound<NormRef<'a>> for Float type Round = Round; type Ordering = Ordering;
impl<'a> AssignRound<LnRef<'a>> for Complex type Round = (Round, Round); type Ordering = (Ordering, Ordering);
impl<'a> AssignRound<Log10Ref<'a>> for Complex type Round = (Round, Round); type Ordering = (Ordering, Ordering);
impl<'a> AssignRound<ExpRef<'a>> for Complex type Round = (Round, Round); type Ordering = (Ordering, Ordering);
impl<'a> AssignRound<SinRef<'a>> for Complex type Round = (Round, Round); type Ordering = (Ordering, Ordering);
impl<'a> AssignRound<CosRef<'a>> for Complex type Round = (Round, Round); type Ordering = (Ordering, Ordering);
impl<'a> AssignRound<TanRef<'a>> for Complex type Round = (Round, Round); type Ordering = (Ordering, Ordering);
impl<'a> AssignRound<SinhRef<'a>> for Complex type Round = (Round, Round); type Ordering = (Ordering, Ordering);
impl<'a> AssignRound<CoshRef<'a>> for Complex type Round = (Round, Round); type Ordering = (Ordering, Ordering);
impl<'a> AssignRound<TanhRef<'a>> for Complex type Round = (Round, Round); type Ordering = (Ordering, Ordering);
impl<'a> AssignRound<AsinRef<'a>> for Complex type Round = (Round, Round); type Ordering = (Ordering, Ordering);
impl<'a> AssignRound<AcosRef<'a>> for Complex type Round = (Round, Round); type Ordering = (Ordering, Ordering);
impl<'a> AssignRound<AtanRef<'a>> for Complex type Round = (Round, Round); type Ordering = (Ordering, Ordering);
impl<'a> AssignRound<AsinhRef<'a>> for Complex type Round = (Round, Round); type Ordering = (Ordering, Ordering);
impl<'a> AssignRound<AcoshRef<'a>> for Complex type Round = (Round, Round); type Ordering = (Ordering, Ordering);
impl<'a> AssignRound<AtanhRef<'a>> for Complex type Round = (Round, Round); type Ordering = (Ordering, Ordering);
impl<'a> AssignRound<ValidComplex<'a>> for Complex type Round = (Round, Round); type Ordering = (Ordering, Ordering);
impl<'a> AssignRound<NegRef<'a>> for Complex type Round = (Round, Round); type Ordering = (Ordering, Ordering);
impl<'a> AssignRound<AddRef<'a>> for Complex type Round = (Round, Round); type Ordering = (Ordering, Ordering);
impl<'a> AssignRound<SubRef<'a>> for Complex type Round = (Round, Round); type Ordering = (Ordering, Ordering);
impl<'a> AssignRound<MulRef<'a>> for Complex type Round = (Round, Round); type Ordering = (Ordering, Ordering);
impl<'a> AssignRound<DivRef<'a>> for Complex type Round = (Round, Round); type Ordering = (Ordering, Ordering);
impl<'a> AssignRound<PowRef<'a>> for Complex type Round = (Round, Round); type Ordering = (Ordering, Ordering);
impl<'a> AssignRound<AddRefFloat<'a>> for Complex type Round = (Round, Round); type Ordering = (Ordering, Ordering);
impl<'a> AssignRound<AddRefFloatOwn<'a>> for Complex type Round = (Round, Round); type Ordering = (Ordering, Ordering);
impl<'a> AssignRound<SubRefFloat<'a>> for Complex type Round = (Round, Round); type Ordering = (Ordering, Ordering);
impl<'a> AssignRound<SubFromRefFloat<'a>> for Complex type Round = (Round, Round); type Ordering = (Ordering, Ordering);
impl<'a> AssignRound<SubRefFloatOwn<'a>> for Complex type Round = (Round, Round); type Ordering = (Ordering, Ordering);
impl<'a> AssignRound<SubFromRefFloatOwn<'a>> for Complex type Round = (Round, Round); type Ordering = (Ordering, Ordering);
impl<'a> AssignRound<MulRefFloat<'a>> for Complex type Round = (Round, Round); type Ordering = (Ordering, Ordering);
impl<'a> AssignRound<MulRefFloatOwn<'a>> for Complex type Round = (Round, Round); type Ordering = (Ordering, Ordering);
impl<'a> AssignRound<DivRefFloat<'a>> for Complex type Round = (Round, Round); type Ordering = (Ordering, Ordering);
impl<'a> AssignRound<DivFromRefFloat<'a>> for Complex type Round = (Round, Round); type Ordering = (Ordering, Ordering);
impl<'a> AssignRound<DivRefFloatOwn<'a>> for Complex type Round = (Round, Round); type Ordering = (Ordering, Ordering);
impl<'a> AssignRound<DivFromRefFloatOwn<'a>> for Complex type Round = (Round, Round); type Ordering = (Ordering, Ordering);
impl<'a> AssignRound<PowRefFloat<'a>> for Complex type Round = (Round, Round); type Ordering = (Ordering, Ordering);
impl<'a> AssignRound<PowRefFloatOwn<'a>> for Complex type Round = (Round, Round); type Ordering = (Ordering, Ordering);
impl<'a> AssignRound<PowRefInteger<'a>> for Complex type Round = (Round, Round); type Ordering = (Ordering, Ordering);
impl<'a> AssignRound<PowRefIntegerOwn<'a>> for Complex type Round = (Round, Round); type Ordering = (Ordering, Ordering);
impl<'a> AssignRound<AddRefU32<'a>> for Complex type Round = (Round, Round); type Ordering = (Ordering, Ordering);
impl<'a> AssignRound<SubRefU32<'a>> for Complex type Round = (Round, Round); type Ordering = (Ordering, Ordering);
impl<'a> AssignRound<SubFromRefU32<'a>> for Complex type Round = (Round, Round); type Ordering = (Ordering, Ordering);
impl<'a> AssignRound<MulRefU32<'a>> for Complex type Round = (Round, Round); type Ordering = (Ordering, Ordering);
impl<'a> AssignRound<DivRefU32<'a>> for Complex type Round = (Round, Round); type Ordering = (Ordering, Ordering);
impl<'a> AssignRound<DivFromRefU32<'a>> for Complex type Round = (Round, Round); type Ordering = (Ordering, Ordering);
impl<'a> AssignRound<AddRefI32<'a>> for Complex type Round = (Round, Round); type Ordering = (Ordering, Ordering);
impl<'a> AssignRound<SubRefI32<'a>> for Complex type Round = (Round, Round); type Ordering = (Ordering, Ordering);
impl<'a> AssignRound<SubFromRefI32<'a>> for Complex type Round = (Round, Round); type Ordering = (Ordering, Ordering);
impl<'a> AssignRound<MulRefI32<'a>> for Complex type Round = (Round, Round); type Ordering = (Ordering, Ordering);
impl<'a> AssignRound<DivRefI32<'a>> for Complex type Round = (Round, Round); type Ordering = (Ordering, Ordering);
impl<'a> AssignRound<DivFromRefI32<'a>> for Complex type Round = (Round, Round); type Ordering = (Ordering, Ordering);
impl<'a> AssignRound<ShlRefU32<'a>> for Complex type Round = (Round, Round); type Ordering = (Ordering, Ordering);
impl<'a> AssignRound<ShrRefU32<'a>> for Complex type Round = (Round, Round); type Ordering = (Ordering, Ordering);
impl<'a> AssignRound<PowRefU32<'a>> for Complex type Round = (Round, Round); type Ordering = (Ordering, Ordering);
impl<'a> AssignRound<ShlRefI32<'a>> for Complex type Round = (Round, Round); type Ordering = (Ordering, Ordering);
impl<'a> AssignRound<ShrRefI32<'a>> for Complex type Round = (Round, Round); type Ordering = (Ordering, Ordering);
impl<'a> AssignRound<PowRefI32<'a>> for Complex type Round = (Round, Round); type Ordering = (Ordering, Ordering);
impl<'a> AssignRound<PowRefF64<'a>> for Complex type Round = (Round, Round); type Ordering = (Ordering, Ordering);
impl<'a> AssignRound<PowRefF32<'a>> for Complex type Round = (Round, Round); type Ordering = (Ordering, Ordering);
impl<'a> AssignRound<AddMulRef<'a>> for Complex type Round = (Round, Round); type Ordering = (Ordering, Ordering);
impl<'a> AssignRound<SubMulRef<'a>> for Complex type Round = (Round, Round); type Ordering = (Ordering, Ordering);
impl<'a> AssignRound<SubMulFromRef<'a>> for Complex type Round = (Round, Round); type Ordering = (Ordering, Ordering);
impl AssignRound<Complex> for Complex type Round = (Round, Round); type Ordering = (Ordering, Ordering);
impl<'a> AssignRound<&'a Complex> for Complex type Round = (Round, Round); type Ordering = (Ordering, Ordering);
impl<Re> AssignRound<Re> for Complex where
Float: AssignRound<Re, Round = Round, Ordering = Ordering>, type Round = (Round, Round); type Ordering = (Ordering, Ordering);impl<Re, Im> AssignRound<(Re, Im)> for Complex where
Float: AssignRound<Re, Round = Round, Ordering = Ordering> + AssignRound<Im, Round = Round, Ordering = Ordering>, type Round = (Round, Round); type Ordering = (Ordering, Ordering);impl<'a, Re, Im> AssignRound<&'a (Re, Im)> for Complex where
Float: AssignRound<&'a Re, Round = Round, Ordering = Ordering> + AssignRound<&'a Im, Round = Round, Ordering = Ordering>, type Round = (Round, Round); type Ordering = (Ordering, Ordering);