pub trait ConcatMixed<Hi: ?Sized = Self> {
type MixedOutput: Integer;
// Required method
fn concat_mixed(&self, hi: &Hi) -> Self::MixedOutput;
}
Expand description
Concatenate two numbers into a “wide” combined-width value, using the hi
value as the most
significant value.
Required Associated Types§
Sourcetype MixedOutput: Integer
type MixedOutput: Integer
Concatenated output: combination of Self
and Hi
.
Required Methods§
Sourcefn concat_mixed(&self, hi: &Hi) -> Self::MixedOutput
fn concat_mixed(&self, hi: &Hi) -> Self::MixedOutput
Concatenate the two values, with self
as least significant and hi
as the most
significant.
Implementors§
Source§impl ConcatMixed<Uint<{ <$name>::LIMBS / 2 }>> for Uint<{ _ }>
impl ConcatMixed<Uint<{ <$name>::LIMBS / 2 }>> for Uint<{ _ }>
type MixedOutput = Uint<{ nlimbs!($bits) }>
Source§impl ConcatMixed<Uint<{ <$name>::LIMBS / 2 }>> for Uint<{ _ }>
impl ConcatMixed<Uint<{ <$name>::LIMBS / 2 }>> for Uint<{ _ }>
type MixedOutput = Uint<{ nlimbs!($bits) }>
Source§impl ConcatMixed<Uint<{ <$name>::LIMBS / 2 }>> for Uint<{ _ }>
impl ConcatMixed<Uint<{ <$name>::LIMBS / 2 }>> for Uint<{ _ }>
type MixedOutput = Uint<{ nlimbs!($bits) }>
Source§impl ConcatMixed<Uint<{ <$name>::LIMBS / 2 }>> for Uint<{ _ }>
impl ConcatMixed<Uint<{ <$name>::LIMBS / 2 }>> for Uint<{ _ }>
type MixedOutput = Uint<{ nlimbs!($bits) }>
Source§impl ConcatMixed<Uint<{ <$name>::LIMBS / 2 }>> for Uint<{ _ }>
impl ConcatMixed<Uint<{ <$name>::LIMBS / 2 }>> for Uint<{ _ }>
type MixedOutput = Uint<{ nlimbs!($bits) }>
Source§impl ConcatMixed<Uint<{ <$name>::LIMBS / 2 }>> for Uint<{ _ }>
impl ConcatMixed<Uint<{ <$name>::LIMBS / 2 }>> for Uint<{ _ }>
type MixedOutput = Uint<{ nlimbs!($bits) }>
Source§impl ConcatMixed<Uint<{ <$name>::LIMBS / 2 }>> for Uint<{ _ }>
impl ConcatMixed<Uint<{ <$name>::LIMBS / 2 }>> for Uint<{ _ }>
type MixedOutput = Uint<{ nlimbs!($bits) }>
Source§impl ConcatMixed<Uint<{ <$name>::LIMBS / 2 }>> for Uint<{ _ }>
impl ConcatMixed<Uint<{ <$name>::LIMBS / 2 }>> for Uint<{ _ }>
type MixedOutput = Uint<{ nlimbs!($bits) }>
Source§impl ConcatMixed<Uint<{ <$name>::LIMBS / 2 }>> for Uint<{ _ }>
impl ConcatMixed<Uint<{ <$name>::LIMBS / 2 }>> for Uint<{ _ }>
type MixedOutput = Uint<{ nlimbs!($bits) }>
Source§impl ConcatMixed<Uint<{ <$name>::LIMBS / 2 }>> for Uint<{ _ }>
impl ConcatMixed<Uint<{ <$name>::LIMBS / 2 }>> for Uint<{ _ }>
type MixedOutput = Uint<{ nlimbs!($bits) }>
Source§impl ConcatMixed<Uint<{ <$name>::LIMBS / 2 }>> for Uint<{ _ }>
impl ConcatMixed<Uint<{ <$name>::LIMBS / 2 }>> for Uint<{ _ }>
type MixedOutput = Uint<{ nlimbs!($bits) }>
Source§impl ConcatMixed<Uint<{ <$name>::LIMBS / 2 }>> for Uint<{ _ }>
impl ConcatMixed<Uint<{ <$name>::LIMBS / 2 }>> for Uint<{ _ }>
type MixedOutput = Uint<{ nlimbs!($bits) }>
Source§impl ConcatMixed<Uint<{ <$name>::LIMBS / 2 }>> for Uint<{ _ }>
impl ConcatMixed<Uint<{ <$name>::LIMBS / 2 }>> for Uint<{ _ }>
type MixedOutput = Uint<{ nlimbs!($bits) }>
Source§impl ConcatMixed<Uint<{ <$name>::LIMBS / 2 }>> for Uint<{ _ }>
impl ConcatMixed<Uint<{ <$name>::LIMBS / 2 }>> for Uint<{ _ }>
type MixedOutput = Uint<{ nlimbs!($bits) }>
Source§impl ConcatMixed<Uint<{ <$name>::LIMBS / 2 }>> for Uint<{ _ }>
impl ConcatMixed<Uint<{ <$name>::LIMBS / 2 }>> for Uint<{ _ }>
type MixedOutput = Uint<{ nlimbs!($bits) }>
Source§impl ConcatMixed<Uint<{ <$name>::LIMBS / 2 }>> for Uint<{ _ }>
impl ConcatMixed<Uint<{ <$name>::LIMBS / 2 }>> for Uint<{ _ }>
type MixedOutput = Uint<{ nlimbs!($bits) }>
Source§impl ConcatMixed<Uint<{ <$name>::LIMBS / 2 }>> for Uint<{ _ }>
impl ConcatMixed<Uint<{ <$name>::LIMBS / 2 }>> for Uint<{ _ }>
type MixedOutput = Uint<{ nlimbs!($bits) }>
Source§impl ConcatMixed<Uint<{ <$name>::LIMBS / 2 }>> for Uint<{ _ }>
impl ConcatMixed<Uint<{ <$name>::LIMBS / 2 }>> for Uint<{ _ }>
type MixedOutput = Uint<{ nlimbs!($bits) }>
Source§impl ConcatMixed<Uint<{ <$name>::LIMBS / 2 }>> for Uint<{ _ }>
impl ConcatMixed<Uint<{ <$name>::LIMBS / 2 }>> for Uint<{ _ }>
type MixedOutput = Uint<{ nlimbs!($bits) }>
Source§impl ConcatMixed<Uint<{ <$name>::LIMBS / 2 }>> for Uint<{ _ }>
impl ConcatMixed<Uint<{ <$name>::LIMBS / 2 }>> for Uint<{ _ }>
type MixedOutput = Uint<{ nlimbs!($bits) }>
Source§impl ConcatMixed<Uint<{ <$name>::LIMBS / 2 }>> for Uint<{ _ }>
impl ConcatMixed<Uint<{ <$name>::LIMBS / 2 }>> for Uint<{ _ }>
type MixedOutput = Uint<{ nlimbs!($bits) }>
Source§impl ConcatMixed<Uint<{ <$name>::LIMBS / 2 }>> for Uint<{ _ }>
Available on crate feature extra-sizes
only.
impl ConcatMixed<Uint<{ <$name>::LIMBS / 2 }>> for Uint<{ _ }>
Available on crate feature
extra-sizes
only.type MixedOutput = Uint<{ nlimbs!($bits) }>
Source§impl ConcatMixed<Uint<{ <$name>::LIMBS / 2 }>> for Uint<{ _ }>
Available on crate feature extra-sizes
only.
impl ConcatMixed<Uint<{ <$name>::LIMBS / 2 }>> for Uint<{ _ }>
Available on crate feature
extra-sizes
only.type MixedOutput = Uint<{ nlimbs!($bits) }>
Source§impl ConcatMixed<Uint<{ <$name>::LIMBS / 2 }>> for Uint<{ _ }>
Available on crate feature extra-sizes
only.
impl ConcatMixed<Uint<{ <$name>::LIMBS / 2 }>> for Uint<{ _ }>
Available on crate feature
extra-sizes
only.type MixedOutput = Uint<{ nlimbs!($bits) }>
Source§impl ConcatMixed<Uint<{ <$name>::LIMBS / 2 }>> for Uint<{ _ }>
Available on crate feature extra-sizes
only.
impl ConcatMixed<Uint<{ <$name>::LIMBS / 2 }>> for Uint<{ _ }>
Available on crate feature
extra-sizes
only.type MixedOutput = Uint<{ nlimbs!($bits) }>
Source§impl ConcatMixed<Uint<{ <$name>::LIMBS / 2 }>> for Uint<{ _ }>
Available on crate feature extra-sizes
only.
impl ConcatMixed<Uint<{ <$name>::LIMBS / 2 }>> for Uint<{ _ }>
Available on crate feature
extra-sizes
only.type MixedOutput = Uint<{ nlimbs!($bits) }>
Source§impl ConcatMixed<Uint<{ <$name>::LIMBS / 2 }>> for Uint<{ _ }>
Available on crate feature extra-sizes
only.
impl ConcatMixed<Uint<{ <$name>::LIMBS / 2 }>> for Uint<{ _ }>
Available on crate feature
extra-sizes
only.type MixedOutput = Uint<{ nlimbs!($bits) }>
Source§impl ConcatMixed<Uint<{ <$name>::LIMBS / 2 }>> for Uint<{ _ }>
Available on crate feature extra-sizes
only.
impl ConcatMixed<Uint<{ <$name>::LIMBS / 2 }>> for Uint<{ _ }>
Available on crate feature
extra-sizes
only.type MixedOutput = Uint<{ nlimbs!($bits) }>
Source§impl ConcatMixed<Uint<{ <$name>::LIMBS / 2 }>> for Uint<{ _ }>
Available on crate feature extra-sizes
only.
impl ConcatMixed<Uint<{ <$name>::LIMBS / 2 }>> for Uint<{ _ }>
Available on crate feature
extra-sizes
only.type MixedOutput = Uint<{ nlimbs!($bits) }>
Source§impl ConcatMixed<Uint<{ <$name>::LIMBS / 2 }>> for Uint<{ _ }>
Available on crate feature extra-sizes
only.
impl ConcatMixed<Uint<{ <$name>::LIMBS / 2 }>> for Uint<{ _ }>
Available on crate feature
extra-sizes
only.type MixedOutput = Uint<{ nlimbs!($bits) }>
Source§impl ConcatMixed<Uint<{ <$name>::LIMBS / 2 }>> for Uint<{ _ }>
Available on crate feature extra-sizes
only.
impl ConcatMixed<Uint<{ <$name>::LIMBS / 2 }>> for Uint<{ _ }>
Available on crate feature
extra-sizes
only.type MixedOutput = Uint<{ nlimbs!($bits) }>
Source§impl ConcatMixed<Uint<{ <$name>::LIMBS / 2 }>> for Uint<{ _ }>
Available on crate feature extra-sizes
only.
impl ConcatMixed<Uint<{ <$name>::LIMBS / 2 }>> for Uint<{ _ }>
Available on crate feature
extra-sizes
only.type MixedOutput = Uint<{ nlimbs!($bits) }>
Source§impl ConcatMixed<Uint<{ <$name>::LIMBS / 2 }>> for Uint<{ _ }>
Available on crate feature extra-sizes
only.
impl ConcatMixed<Uint<{ <$name>::LIMBS / 2 }>> for Uint<{ _ }>
Available on crate feature
extra-sizes
only.type MixedOutput = Uint<{ nlimbs!($bits) }>
Source§impl ConcatMixed<Uint<{ <$name>::LIMBS / 2 }>> for Uint<{ _ }>
Available on crate feature extra-sizes
only.
impl ConcatMixed<Uint<{ <$name>::LIMBS / 2 }>> for Uint<{ _ }>
Available on crate feature
extra-sizes
only.type MixedOutput = Uint<{ nlimbs!($bits) }>
Source§impl ConcatMixed<Uint<{ <$name>::LIMBS / 2 }>> for Uint<{ _ }>
Available on crate feature extra-sizes
only.
impl ConcatMixed<Uint<{ <$name>::LIMBS / 2 }>> for Uint<{ _ }>
Available on crate feature
extra-sizes
only.type MixedOutput = Uint<{ nlimbs!($bits) }>
Source§impl ConcatMixed<Uint<{ <$name>::LIMBS / 2 }>> for Uint<{ _ }>
Available on crate feature extra-sizes
only.
impl ConcatMixed<Uint<{ <$name>::LIMBS / 2 }>> for Uint<{ _ }>
Available on crate feature
extra-sizes
only.type MixedOutput = Uint<{ nlimbs!($bits) }>
Source§impl ConcatMixed<Uint<{ <$name>::LIMBS / 2 }>> for Uint<{ _ }>
Available on crate feature extra-sizes
only.
impl ConcatMixed<Uint<{ <$name>::LIMBS / 2 }>> for Uint<{ _ }>
Available on crate feature
extra-sizes
only.type MixedOutput = Uint<{ nlimbs!($bits) }>
Source§impl ConcatMixed<Uint<{ <$name>::LIMBS / 2 }>> for Uint<{ _ }>
Available on crate feature extra-sizes
only.
impl ConcatMixed<Uint<{ <$name>::LIMBS / 2 }>> for Uint<{ _ }>
Available on crate feature
extra-sizes
only.type MixedOutput = Uint<{ nlimbs!($bits) }>
Source§impl ConcatMixed<Uint<{ <$name>::LIMBS / 2 }>> for Uint<{ _ }>
Available on crate feature extra-sizes
only.
impl ConcatMixed<Uint<{ <$name>::LIMBS / 2 }>> for Uint<{ _ }>
Available on crate feature
extra-sizes
only.type MixedOutput = Uint<{ nlimbs!($bits) }>
Source§impl ConcatMixed<Uint<{ <$name>::LIMBS / 2 }>> for Uint<{ _ }>
Available on crate feature extra-sizes
only.
impl ConcatMixed<Uint<{ <$name>::LIMBS / 2 }>> for Uint<{ _ }>
Available on crate feature
extra-sizes
only.type MixedOutput = Uint<{ nlimbs!($bits) }>
Source§impl ConcatMixed<Uint<{ <$name>::LIMBS / 2 }>> for Uint<{ _ }>
Available on crate feature extra-sizes
only.
impl ConcatMixed<Uint<{ <$name>::LIMBS / 2 }>> for Uint<{ _ }>
Available on crate feature
extra-sizes
only.type MixedOutput = Uint<{ nlimbs!($bits) }>
Source§impl ConcatMixed<Uint<{ <$name>::LIMBS / 2 }>> for Uint<{ _ }>
Available on crate feature extra-sizes
only.
impl ConcatMixed<Uint<{ <$name>::LIMBS / 2 }>> for Uint<{ _ }>
Available on crate feature
extra-sizes
only.type MixedOutput = Uint<{ nlimbs!($bits) }>
Source§impl ConcatMixed<Uint<{ <$name>::LIMBS / 2 }>> for Uint<{ _ }>
Available on crate feature extra-sizes
only.
impl ConcatMixed<Uint<{ <$name>::LIMBS / 2 }>> for Uint<{ _ }>
Available on crate feature
extra-sizes
only.type MixedOutput = Uint<{ nlimbs!($bits) }>
Source§impl ConcatMixed<Uint<{ <$name>::LIMBS / 2 }>> for Uint<{ _ }>
Available on crate feature extra-sizes
only.
impl ConcatMixed<Uint<{ <$name>::LIMBS / 2 }>> for Uint<{ _ }>
Available on crate feature
extra-sizes
only.type MixedOutput = Uint<{ nlimbs!($bits) }>
Source§impl ConcatMixed<Uint<{ <$name>::LIMBS / 2 }>> for Uint<{ _ }>
Available on crate feature extra-sizes
only.
impl ConcatMixed<Uint<{ <$name>::LIMBS / 2 }>> for Uint<{ _ }>
Available on crate feature
extra-sizes
only.type MixedOutput = Uint<{ nlimbs!($bits) }>
Source§impl ConcatMixed<Uint<{ <$name>::LIMBS / 2 }>> for Uint<{ _ }>
Available on crate feature extra-sizes
only.
impl ConcatMixed<Uint<{ <$name>::LIMBS / 2 }>> for Uint<{ _ }>
Available on crate feature
extra-sizes
only.type MixedOutput = Uint<{ nlimbs!($bits) }>
Source§impl ConcatMixed<Uint<{ <$name>::LIMBS / 2 }>> for Uint<{ _ }>
Available on crate feature extra-sizes
only.
impl ConcatMixed<Uint<{ <$name>::LIMBS / 2 }>> for Uint<{ _ }>
Available on crate feature
extra-sizes
only.type MixedOutput = Uint<{ nlimbs!($bits) }>
Source§impl ConcatMixed<Uint<{ <$name>::LIMBS / 2 }>> for Uint<{ _ }>
Available on crate feature extra-sizes
only.
impl ConcatMixed<Uint<{ <$name>::LIMBS / 2 }>> for Uint<{ _ }>
Available on crate feature
extra-sizes
only.type MixedOutput = Uint<{ nlimbs!($bits) }>
Source§impl ConcatMixed<Uint<{ <$name>::LIMBS / 2 }>> for Uint<{ _ }>
Available on crate feature extra-sizes
only.
impl ConcatMixed<Uint<{ <$name>::LIMBS / 2 }>> for Uint<{ _ }>
Available on crate feature
extra-sizes
only.type MixedOutput = Uint<{ nlimbs!($bits) }>
Source§impl ConcatMixed<Uint<{ <$name>::LIMBS / 2 }>> for Uint<{ _ }>
Available on crate feature extra-sizes
only.
impl ConcatMixed<Uint<{ <$name>::LIMBS / 2 }>> for Uint<{ _ }>
Available on crate feature
extra-sizes
only.type MixedOutput = Uint<{ nlimbs!($bits) }>
Source§impl ConcatMixed<Uint<{ <$name>::LIMBS / 2 }>> for Uint<{ _ }>
Available on crate feature extra-sizes
only.
impl ConcatMixed<Uint<{ <$name>::LIMBS / 2 }>> for Uint<{ _ }>
Available on crate feature
extra-sizes
only.type MixedOutput = Uint<{ nlimbs!($bits) }>
Source§impl ConcatMixed<Uint<{ <$name>::LIMBS / 2 }>> for Uint<{ _ }>
Available on crate feature extra-sizes
only.
impl ConcatMixed<Uint<{ <$name>::LIMBS / 2 }>> for Uint<{ _ }>
Available on crate feature
extra-sizes
only.type MixedOutput = Uint<{ nlimbs!($bits) }>
Source§impl ConcatMixed<Uint<{ <$name>::LIMBS / 2 }>> for Uint<{ _ }>
Available on crate feature extra-sizes
only.
impl ConcatMixed<Uint<{ <$name>::LIMBS / 2 }>> for Uint<{ _ }>
Available on crate feature
extra-sizes
only.type MixedOutput = Uint<{ nlimbs!($bits) }>
Source§impl ConcatMixed<Uint<{ <$name>::LIMBS / 2 }>> for Uint<{ _ }>
Available on crate feature extra-sizes
only.
impl ConcatMixed<Uint<{ <$name>::LIMBS / 2 }>> for Uint<{ _ }>
Available on crate feature
extra-sizes
only.type MixedOutput = Uint<{ nlimbs!($bits) }>
Source§impl ConcatMixed<Uint<{ <$name>::LIMBS / 2 }>> for Uint<{ _ }>
Available on crate feature extra-sizes
only.
impl ConcatMixed<Uint<{ <$name>::LIMBS / 2 }>> for Uint<{ _ }>
Available on crate feature
extra-sizes
only.type MixedOutput = Uint<{ nlimbs!($bits) }>
Source§impl ConcatMixed<Uint<{ <$name>::LIMBS / 2 }>> for Uint<{ _ }>
Available on crate feature extra-sizes
only.
impl ConcatMixed<Uint<{ <$name>::LIMBS / 2 }>> for Uint<{ _ }>
Available on crate feature
extra-sizes
only.type MixedOutput = Uint<{ nlimbs!($bits) }>
Source§impl ConcatMixed<Uint<{ <$name>::LIMBS / 2 }>> for Uint<{ _ }>
Available on crate feature extra-sizes
only.
impl ConcatMixed<Uint<{ <$name>::LIMBS / 2 }>> for Uint<{ _ }>
Available on crate feature
extra-sizes
only.type MixedOutput = Uint<{ nlimbs!($bits) }>
Source§impl ConcatMixed<Uint<{ <$name>::LIMBS / 2 }>> for Uint<{ _ }>
Available on crate feature extra-sizes
only.
impl ConcatMixed<Uint<{ <$name>::LIMBS / 2 }>> for Uint<{ _ }>
Available on crate feature
extra-sizes
only.type MixedOutput = Uint<{ nlimbs!($bits) }>
Source§impl ConcatMixed<Uint<{ <$name>::LIMBS / 2 }>> for Uint<{ _ }>
Available on crate feature extra-sizes
only.
impl ConcatMixed<Uint<{ <$name>::LIMBS / 2 }>> for Uint<{ _ }>
Available on crate feature
extra-sizes
only.type MixedOutput = Uint<{ nlimbs!($bits) }>
Source§impl ConcatMixed<Uint<{ <$name>::LIMBS / 2 }>> for Uint<{ _ }>
Available on crate feature extra-sizes
only.
impl ConcatMixed<Uint<{ <$name>::LIMBS / 2 }>> for Uint<{ _ }>
Available on crate feature
extra-sizes
only.type MixedOutput = Uint<{ nlimbs!($bits) }>
Source§impl ConcatMixed<Uint<{ <$name>::LIMBS / 2 }>> for Uint<{ _ }>
Available on crate feature extra-sizes
only.
impl ConcatMixed<Uint<{ <$name>::LIMBS / 2 }>> for Uint<{ _ }>
Available on crate feature
extra-sizes
only.type MixedOutput = Uint<{ nlimbs!($bits) }>
Source§impl ConcatMixed<Uint<{ <$name>::LIMBS / 2 }>> for Uint<{ _ }>
Available on crate feature extra-sizes
only.
impl ConcatMixed<Uint<{ <$name>::LIMBS / 2 }>> for Uint<{ _ }>
Available on crate feature
extra-sizes
only.type MixedOutput = Uint<{ nlimbs!($bits) }>
Source§impl ConcatMixed<Uint<{ <$name>::LIMBS / 2 }>> for Uint<{ _ }>
Available on crate feature extra-sizes
only.
impl ConcatMixed<Uint<{ <$name>::LIMBS / 2 }>> for Uint<{ _ }>
Available on crate feature
extra-sizes
only.type MixedOutput = Uint<{ nlimbs!($bits) }>
Source§impl ConcatMixed<Uint<{ <$name>::LIMBS / 2 }>> for Uint<{ _ }>
Available on crate feature extra-sizes
only.
impl ConcatMixed<Uint<{ <$name>::LIMBS / 2 }>> for Uint<{ _ }>
Available on crate feature
extra-sizes
only.type MixedOutput = Uint<{ nlimbs!($bits) }>
Source§impl ConcatMixed<Uint<{ <$name>::LIMBS / 2 }>> for Uint<{ _ }>
Available on crate feature extra-sizes
only.
impl ConcatMixed<Uint<{ <$name>::LIMBS / 2 }>> for Uint<{ _ }>
Available on crate feature
extra-sizes
only.type MixedOutput = Uint<{ nlimbs!($bits) }>
Source§impl ConcatMixed<Uint<{ <$name>::LIMBS / 2 }>> for Uint<{ _ }>
Available on crate feature extra-sizes
only.
impl ConcatMixed<Uint<{ <$name>::LIMBS / 2 }>> for Uint<{ _ }>
Available on crate feature
extra-sizes
only.