Struct ff_uint::Num [−][src]
#[repr(transparent)]pub struct Num<Fp: PrimeField>(pub Fp);Tuple Fields
0: FpImplementations
Trait Implementations
impl<'macro_lifetime_a, 'macro_lifetime_b, U: PrimeField> Add<&'macro_lifetime_a Num<U>> for &'macro_lifetime_b Num<U>
impl<'macro_lifetime_a, 'macro_lifetime_b, U: PrimeField> Add<&'macro_lifetime_a Num<U>> for &'macro_lifetime_b Num<U>
Performs the += operation. Read more
Performs the += operation. Read more
type Iter = BitIteratorBE<Fp::Inner>
type Iter = BitIteratorLE<Fp::Inner>
Deserializes this instance from a given slice of bytes. Updates the buffer to point at the remaining bytes. Read more
Deserialize this instance from a slice of bytes.
Whether Self is u8.
NOTE: Vec<u8> is the most common use-case for serialization and deserialization, it’s
worth handling it as a special case to improve performance.
It’s a workaround for specific Vec<u8> implementation versus generic Vec<T>
implementation. See https://github.com/rust-lang/rfcs/pull/1210 for details. Read more
Serialize this instance into a vector of bytes.
Whether Self is u8.
NOTE: Vec<u8> is the most common use-case for serialization and deserialization, it’s
worth handling it as a special case to improve performance.
It’s a workaround for specific Vec<u8> implementation versus generic Vec<T>
implementation. See https://github.com/rust-lang/rfcs/pull/1210 for details. Read more
Deserialize this value from the given Serde deserializer. Read more
impl<'macro_lifetime_a, 'macro_lifetime_b, U: PrimeField> Div<&'macro_lifetime_a Num<U>> for &'macro_lifetime_b Num<U>
impl<'macro_lifetime_a, 'macro_lifetime_b, U: PrimeField> Div<&'macro_lifetime_a Num<U>> for &'macro_lifetime_b Num<U>
Performs the /= operation. Read more
Performs the /= operation. Read more
impl<'macro_lifetime_a, 'macro_lifetime_b, U: PrimeField> Mul<&'macro_lifetime_a Num<U>> for &'macro_lifetime_b Num<U>
impl<'macro_lifetime_a, 'macro_lifetime_b, U: PrimeField> Mul<&'macro_lifetime_a Num<U>> for &'macro_lifetime_b Num<U>
Performs the *= operation. Read more
Performs the *= operation. Read more
impl<'macro_lifetime_a, 'macro_lifetime_b, U: PrimeField> Sub<&'macro_lifetime_a Num<U>> for &'macro_lifetime_b Num<U>
impl<'macro_lifetime_a, 'macro_lifetime_b, U: PrimeField> Sub<&'macro_lifetime_a Num<U>> for &'macro_lifetime_b Num<U>
Performs the -= operation. Read more
Performs the -= operation. Read more
Auto Trait Implementations
impl<Fp> RefUnwindSafe for Num<Fp> where
Fp: RefUnwindSafe,
impl<Fp> UnwindSafe for Num<Fp> where
Fp: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more