Trait ff::PrimeFieldBits[][src]

pub trait PrimeFieldBits: PrimeField {
    type ReprBits: BitViewSized + Send + Sync;
    fn to_le_bits(&self) -> FieldBits<Self::ReprBits>;
fn char_le_bits() -> FieldBits<Self::ReprBits>; }
This is supported on crate feature bits only.
Expand description

This represents the bits of an element of a prime field.

Associated Types

The backing store for a bit representation of a prime field element.

Required methods

Converts an element of the prime field into a little-endian sequence of bits.

Returns the bits of the field characteristic (the modulus) in little-endian order.

Implementors