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.