F
openvm_
sdk
1.4.0
F
Aliased Type
Trait Implementations
Decode
Encode
In crate openvm_
sdk
openvm_sdk
Type Alias
F
Copy item path
Source
pub type F =
MontyField31
<
BabyBearParameters
>;
Aliased Type
§
pub struct F {
/* private fields */
}
Trait Implementations
§
Source
§
impl
Decode
for
F
Source
§
fn
decode
<R:
Read
>(reader:
&mut R
) ->
Result
<Self>
Reads and decodes a value from the given reader.
Source
§
fn
decode_from_bytes
(bytes: &[
u8
]) ->
Result
<Self>
Source
§
impl
Encode
for
F
Source
§
fn
encode
<W:
Write
>(&self, writer:
&mut W
) ->
Result
<
()
>
Writes the encoded representation of
self
to the given writer.
Source
§
fn
encode_to_vec
(&self) ->
Result
<
Vec
<
u8
>>
Convenience method to encode into a
Vec<u8>