Type Alias PackedBinaryField1x1b

Source
pub type PackedBinaryField1x1b = PackedPrimitiveType<SmallU<1>, BinaryField1b>;

Aliased Type§

#[repr(transparent)]
pub struct PackedBinaryField1x1b(pub SmallU<1>, pub PhantomData<BinaryField1b>);

Tuple Fields§

§0: SmallU<1>§1: PhantomData<BinaryField1b>

Trait Implementations§

Source§

impl DeserializeBytes for PackedBinaryField1x1b

Source§

fn deserialize(read_buf: impl Buf) -> Result<Self, SerializationError>

Source§

impl InvertOrZero for PackedBinaryField1x1b

Source§

fn invert_or_zero(self) -> Self

Returns the inverted value or zero in case when self is zero
Source§

impl Mul for PackedBinaryField1x1b

Source§

type Output = PackedPrimitiveType<SmallU<1>, BinaryField1b>

The resulting type after applying the * operator.
Source§

fn mul(self, b: Self) -> Self

Performs the * operation. Read more
Source§

impl MulAlpha for PackedBinaryField1x1b

Source§

fn mul_alpha(self) -> Self

Multiply self by alpha
Source§

impl<OP> PackedTransformationFactory<OP> for PackedBinaryField1x1b

Source§

type PackedTransformation<Data: AsRef<[OP::Scalar]> + Sync> = <PackedPrimitiveType<SmallU<1>, BinaryField1b> as TaggedPackedTransformationFactory<PairwiseStrategy, OP>>::PackedTransformation<Data>

Source§

fn make_packed_transformation<Data: AsRef<[OP::Scalar]> + Sync>( transformation: FieldLinearTransformation<OP::Scalar, Data>, ) -> Self::PackedTransformation<Data>

Source§

impl SerializeBytes for PackedBinaryField1x1b

Source§

fn serialize(&self, write_buf: impl BufMut) -> Result<(), SerializationError>

Source§

impl Square for PackedBinaryField1x1b

Source§

fn square(self) -> Self

Returns the value multiplied by itself