Struct snapps_txn_reference_impl::primitives::Fp[][src]

pub struct Fp {}
Expand description

A element of the (prime) finite field of order 28948022309329048855892746252171976963363056481941647379679742748393362948097.

This field is the base field for Pallas curve points and the scalar field for Vesta curve points.

Implementations

The ‘zero’ element of the finite field

Compute a hash from a hash input and a prefix state.

The ‘empty’ receipt-chain hash, as defined in the Mina protocol constants.

The ‘empty’ events hash. TODO: Inline the constant here

The ‘empty’ sequence events hash. TODO: Inline the constant here

The ‘empty’ sequence state hash. TODO: Inline the constant here

The ‘empty’ state hash, as defined in the Mina protocol constants.

Compute the public key for the given private key.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.