Struct snapps_txn_reference_impl::primitives::HashInput [−][src]
pub struct HashInput {}
Expand description
The type of hash inputs used in the Mina protocol.
Implementations
Add an Fp
field element to the given HashInput
, using the default algorithm in the Mina
protocol.
Add an Fp
field element to the given HashInput
, using the default algorithm in the Mina
protocol.
add_field(hash_input, x, n)
must not be used if x >= 2^n
.
add_field(hash_input, x, n)
is invalid if n >= 254
, the size in bits of Fp
.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for HashInput
impl UnwindSafe for HashInput
Blanket Implementations
Mutably borrows from an owned value. Read more