Trait crypto_bigint::Split

source ·
pub trait Split: SplitMixed<Self::Output, Self::Output> {
    type Output;

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

Split a number in half, returning the most significant half followed by the least significant.

Required Associated Types§

source

type Output

Split output: high/low components of the value.

Provided Methods§

source

fn split(&self) -> (Self::Output, Self::Output)

Split this number in half, returning its high and low components respectively.

Object Safety§

This trait is not object safe.

Implementors§

source§

impl Split for U64

§

type Output = Uint<{ <$name>::LIMBS / 2 }>

source§

impl Split for U128

§

type Output = Uint<{ <$name>::LIMBS / 2 }>

source§

impl Split for U256

§

type Output = Uint<{ <$name>::LIMBS / 2 }>

source§

impl Split for U384

§

type Output = Uint<{ <$name>::LIMBS / 2 }>

source§

impl Split for U512

§

type Output = Uint<{ <$name>::LIMBS / 2 }>

source§

impl Split for U640

§

type Output = Uint<{ <$name>::LIMBS / 2 }>

source§

impl Split for U768

§

type Output = Uint<{ <$name>::LIMBS / 2 }>

source§

impl Split for U896

§

type Output = Uint<{ <$name>::LIMBS / 2 }>

source§

impl Split for U1024

§

type Output = Uint<{ <$name>::LIMBS / 2 }>

source§

impl Split for U1152

Available on crate feature extra-sizes only.
§

type Output = Uint<{ <$name>::LIMBS / 2 }>

source§

impl Split for U1280

§

type Output = Uint<{ <$name>::LIMBS / 2 }>

source§

impl Split for U1408

Available on crate feature extra-sizes only.
§

type Output = Uint<{ <$name>::LIMBS / 2 }>

source§

impl Split for U1536

§

type Output = Uint<{ <$name>::LIMBS / 2 }>

source§

impl Split for U1664

Available on crate feature extra-sizes only.
§

type Output = Uint<{ <$name>::LIMBS / 2 }>

source§

impl Split for U1792

§

type Output = Uint<{ <$name>::LIMBS / 2 }>

source§

impl Split for U1920

Available on crate feature extra-sizes only.
§

type Output = Uint<{ <$name>::LIMBS / 2 }>

source§

impl Split for U2048

§

type Output = Uint<{ <$name>::LIMBS / 2 }>

source§

impl Split for U2176

Available on crate feature extra-sizes only.
§

type Output = Uint<{ <$name>::LIMBS / 2 }>

source§

impl Split for U2304

Available on crate feature extra-sizes only.
§

type Output = Uint<{ <$name>::LIMBS / 2 }>

source§

impl Split for U2432

Available on crate feature extra-sizes only.
§

type Output = Uint<{ <$name>::LIMBS / 2 }>

source§

impl Split for U2560

Available on crate feature extra-sizes only.
§

type Output = Uint<{ <$name>::LIMBS / 2 }>

source§

impl Split for U2688

Available on crate feature extra-sizes only.
§

type Output = Uint<{ <$name>::LIMBS / 2 }>

source§

impl Split for U2816

Available on crate feature extra-sizes only.
§

type Output = Uint<{ <$name>::LIMBS / 2 }>

source§

impl Split for U2944

Available on crate feature extra-sizes only.
§

type Output = Uint<{ <$name>::LIMBS / 2 }>

source§

impl Split for U3072

§

type Output = Uint<{ <$name>::LIMBS / 2 }>

source§

impl Split for U3200

Available on crate feature extra-sizes only.
§

type Output = Uint<{ <$name>::LIMBS / 2 }>

source§

impl Split for U3328

Available on crate feature extra-sizes only.
§

type Output = Uint<{ <$name>::LIMBS / 2 }>

source§

impl Split for U3456

Available on crate feature extra-sizes only.
§

type Output = Uint<{ <$name>::LIMBS / 2 }>

source§

impl Split for U3584

§

type Output = Uint<{ <$name>::LIMBS / 2 }>

source§

impl Split for U3712

Available on crate feature extra-sizes only.
§

type Output = Uint<{ <$name>::LIMBS / 2 }>

source§

impl Split for U3840

Available on crate feature extra-sizes only.
§

type Output = Uint<{ <$name>::LIMBS / 2 }>

source§

impl Split for U3968

Available on crate feature extra-sizes only.
§

type Output = Uint<{ <$name>::LIMBS / 2 }>

source§

impl Split for U4096

§

type Output = Uint<{ <$name>::LIMBS / 2 }>

source§

impl Split for U4224

§

type Output = Uint<{ <$name>::LIMBS / 2 }>

source§

impl Split for U4352

§

type Output = Uint<{ <$name>::LIMBS / 2 }>

source§

impl Split for U4480

Available on crate feature extra-sizes only.
§

type Output = Uint<{ <$name>::LIMBS / 2 }>

source§

impl Split for U4608

Available on crate feature extra-sizes only.
§

type Output = Uint<{ <$name>::LIMBS / 2 }>

source§

impl Split for U4736

Available on crate feature extra-sizes only.
§

type Output = Uint<{ <$name>::LIMBS / 2 }>

source§

impl Split for U4864

Available on crate feature extra-sizes only.
§

type Output = Uint<{ <$name>::LIMBS / 2 }>

source§

impl Split for U4992

Available on crate feature extra-sizes only.
§

type Output = Uint<{ <$name>::LIMBS / 2 }>

source§

impl Split for U5120

Available on crate feature extra-sizes only.
§

type Output = Uint<{ <$name>::LIMBS / 2 }>

source§

impl Split for U5248

Available on crate feature extra-sizes only.
§

type Output = Uint<{ <$name>::LIMBS / 2 }>

source§

impl Split for U5376

Available on crate feature extra-sizes only.
§

type Output = Uint<{ <$name>::LIMBS / 2 }>

source§

impl Split for U5504

Available on crate feature extra-sizes only.
§

type Output = Uint<{ <$name>::LIMBS / 2 }>

source§

impl Split for U5632

Available on crate feature extra-sizes only.
§

type Output = Uint<{ <$name>::LIMBS / 2 }>

source§

impl Split for U5760

Available on crate feature extra-sizes only.
§

type Output = Uint<{ <$name>::LIMBS / 2 }>

source§

impl Split for U5888

Available on crate feature extra-sizes only.
§

type Output = Uint<{ <$name>::LIMBS / 2 }>

source§

impl Split for U6016

Available on crate feature extra-sizes only.
§

type Output = Uint<{ <$name>::LIMBS / 2 }>

source§

impl Split for U6144

§

type Output = Uint<{ <$name>::LIMBS / 2 }>

source§

impl Split for U6272

Available on crate feature extra-sizes only.
§

type Output = Uint<{ <$name>::LIMBS / 2 }>

source§

impl Split for U6400

Available on crate feature extra-sizes only.
§

type Output = Uint<{ <$name>::LIMBS / 2 }>

source§

impl Split for U6528

Available on crate feature extra-sizes only.
§

type Output = Uint<{ <$name>::LIMBS / 2 }>

source§

impl Split for U6656

Available on crate feature extra-sizes only.
§

type Output = Uint<{ <$name>::LIMBS / 2 }>

source§

impl Split for U6784

Available on crate feature extra-sizes only.
§

type Output = Uint<{ <$name>::LIMBS / 2 }>

source§

impl Split for U6912

Available on crate feature extra-sizes only.
§

type Output = Uint<{ <$name>::LIMBS / 2 }>

source§

impl Split for U7040

Available on crate feature extra-sizes only.
§

type Output = Uint<{ <$name>::LIMBS / 2 }>

source§

impl Split for U7168

Available on crate feature extra-sizes only.
§

type Output = Uint<{ <$name>::LIMBS / 2 }>

source§

impl Split for U7296

Available on crate feature extra-sizes only.
§

type Output = Uint<{ <$name>::LIMBS / 2 }>

source§

impl Split for U7424

Available on crate feature extra-sizes only.
§

type Output = Uint<{ <$name>::LIMBS / 2 }>

source§

impl Split for U7552

Available on crate feature extra-sizes only.
§

type Output = Uint<{ <$name>::LIMBS / 2 }>

source§

impl Split for U7680

Available on crate feature extra-sizes only.
§

type Output = Uint<{ <$name>::LIMBS / 2 }>

source§

impl Split for U7808

Available on crate feature extra-sizes only.
§

type Output = Uint<{ <$name>::LIMBS / 2 }>

source§

impl Split for U7936

Available on crate feature extra-sizes only.
§

type Output = Uint<{ <$name>::LIMBS / 2 }>

source§

impl Split for U8064

Available on crate feature extra-sizes only.
§

type Output = Uint<{ <$name>::LIMBS / 2 }>

source§

impl Split for U8192

§

type Output = Uint<{ <$name>::LIMBS / 2 }>

source§

impl Split for U16384

§

type Output = Uint<{ <$name>::LIMBS / 2 }>