binius_field::underlier

Type Alias U4

source
pub type U4 = SmallU<4>;

Aliased Type§

struct U4(/* private fields */);

Trait Implementations§

source§

impl From<BinaryField4b> for U4

source§

fn from(val: BinaryField4b) -> Self

Converts to this type from the input type.
source§

impl NumCast<SmallU<1>> for U4

source§

fn num_cast_from(val: U1) -> Self

source§

impl NumCast<SmallU<2>> for U4

source§

fn num_cast_from(val: U2) -> Self

source§

impl NumCast<u128> for U4

source§

fn num_cast_from(val: u128) -> Self

source§

impl NumCast<u16> for U4

source§

fn num_cast_from(val: u16) -> Self

source§

impl NumCast<u32> for U4

source§

fn num_cast_from(val: u32) -> Self

source§

impl NumCast<u64> for U4

source§

fn num_cast_from(val: u64) -> Self

source§

impl NumCast<u8> for U4

source§

fn num_cast_from(val: u8) -> Self

source§

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

source§

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