binius_field::underlier

Type Alias U2

source
pub type U2 = SmallU<2>;

Aliased Type§

struct U2(/* private fields */);

Trait Implementations§

source§

impl From<BinaryField2b> for U2

source§

fn from(val: BinaryField2b) -> Self

Converts to this type from the input type.
source§

impl NumCast<SmallU<1>> for U2

source§

fn num_cast_from(val: U1) -> Self

source§

impl NumCast<SmallU<4>> for U2

source§

fn num_cast_from(val: U4) -> Self

source§

impl NumCast<u128> for U2

source§

fn num_cast_from(val: u128) -> Self

source§

impl NumCast<u16> for U2

source§

fn num_cast_from(val: u16) -> Self

source§

impl NumCast<u32> for U2

source§

fn num_cast_from(val: u32) -> Self

source§

impl NumCast<u64> for U2

source§

fn num_cast_from(val: u64) -> Self

source§

impl NumCast<u8> for U2

source§

fn num_cast_from(val: u8) -> Self

source§

impl<F> PackScalar<F> for U2
where F: BinaryField, PackedPrimitiveType<U2, F>: PackedField<Scalar = F> + WithUnderlier<Underlier = U2>,

source§

type Packed = PackedPrimitiveType<SmallU<2>, F>