Trait crypto_bigint::Concat

source ·
pub trait Concat: ConcatMixed<Self, MixedOutput = Self::Output> {
    type Output;

    // Provided method
    fn concat(&self, lo: &Self) -> Self::Output { ... }
}
Expand description

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

Required Associated Types§

source

type Output

Concatenated output: twice the width of Self.

Provided Methods§

source

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

Concatenate the two halves, with self as most significant and lo as the least significant.

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<T> Concat for T
where T: ConcatMixed<T>,