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.

Object Safety§

This trait is not object safe.

Implementors§

source§

impl Concat for U64

§

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

source§

impl Concat for U128

§

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

source§

impl Concat for U192

§

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

source§

impl Concat for U256

§

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

source§

impl Concat for U384

§

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

source§

impl Concat for U448

§

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

source§

impl Concat for U512

§

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

source§

impl Concat for U768

§

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

source§

impl Concat for U896

§

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

source§

impl Concat for U1024

§

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

source§

impl Concat for U1536

§

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

source§

impl Concat for U1792

§

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

source§

impl Concat for U2048

§

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

source§

impl Concat for U3072

§

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

source§

impl Concat for U4096

§

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