Trait crypto_bigint::Concat

source ·
pub trait Concat<Rhs = Self> {
    type Output;

    // Required method
    fn concat(&self, rhs: &Self) -> Self::Output;
}
Expand description

Concatenate two numbers into a “wide” twice-width value, using the rhs value as the least significant value.

Required Associated Types§

source

type Output

Concatenated output: twice the width of Self.

Required Methods§

source

fn concat(&self, rhs: &Self) -> Self::Output

Concatenate the two values, with self as most significant and rhs as the least significant.

Implementors§

source§

impl Concat<UInt<{nlimbs!($bits)}>> for U64

§

type Output = UInt<{nlimbs!($bits) * 2}>

source§

impl Concat<UInt<{nlimbs!($bits)}>> for U128

§

type Output = UInt<{nlimbs!($bits) * 2}>

source§

impl Concat<UInt<{nlimbs!($bits)}>> for U192

§

type Output = UInt<{nlimbs!($bits) * 2}>

source§

impl Concat<UInt<{nlimbs!($bits)}>> for U256

§

type Output = UInt<{nlimbs!($bits) * 2}>

source§

impl Concat<UInt<{nlimbs!($bits)}>> for U384

§

type Output = UInt<{nlimbs!($bits) * 2}>

source§

impl Concat<UInt<{nlimbs!($bits)}>> for U448

§

type Output = UInt<{nlimbs!($bits) * 2}>

source§

impl Concat<UInt<{nlimbs!($bits)}>> for U512

§

type Output = UInt<{nlimbs!($bits) * 2}>

source§

impl Concat<UInt<{nlimbs!($bits)}>> for U768

§

type Output = UInt<{nlimbs!($bits) * 2}>

source§

impl Concat<UInt<{nlimbs!($bits)}>> for U896

§

type Output = UInt<{nlimbs!($bits) * 2}>

source§

impl Concat<UInt<{nlimbs!($bits)}>> for U1024

§

type Output = UInt<{nlimbs!($bits) * 2}>

source§

impl Concat<UInt<{nlimbs!($bits)}>> for U1536

§

type Output = UInt<{nlimbs!($bits) * 2}>

source§

impl Concat<UInt<{nlimbs!($bits)}>> for U1792

§

type Output = UInt<{nlimbs!($bits) * 2}>

source§

impl Concat<UInt<{nlimbs!($bits)}>> for U2048

§

type Output = UInt<{nlimbs!($bits) * 2}>

source§

impl Concat<UInt<{nlimbs!($bits)}>> for U3072

§

type Output = UInt<{nlimbs!($bits) * 2}>

source§

impl Concat<UInt<{nlimbs!($bits)}>> for U4096

§

type Output = UInt<{nlimbs!($bits) * 2}>