pub struct WasmPastaFpPlonkIndex(pub Box<ProverIndex<Vesta, OpeningProof<Vesta>>>);
Expand description
Boxed so that we don’t store large proving indexes in the OCaml heap.
Tuple Fields§
§0: Box<ProverIndex<Vesta, OpeningProof<Vesta>>>
Trait Implementations§
Source§impl From<WasmPastaFpPlonkIndex> for JsValue
impl From<WasmPastaFpPlonkIndex> for JsValue
Source§fn from(value: WasmPastaFpPlonkIndex) -> Self
fn from(value: WasmPastaFpPlonkIndex) -> Self
Converts to this type from the input type.
Source§impl FromWasmAbi for WasmPastaFpPlonkIndex
impl FromWasmAbi for WasmPastaFpPlonkIndex
Source§impl IntoWasmAbi for WasmPastaFpPlonkIndex
impl IntoWasmAbi for WasmPastaFpPlonkIndex
Source§impl RefFromWasmAbi for WasmPastaFpPlonkIndex
impl RefFromWasmAbi for WasmPastaFpPlonkIndex
Source§type Anchor = Ref<'static, WasmPastaFpPlonkIndex>
type Anchor = Ref<'static, WasmPastaFpPlonkIndex>
The type that holds the reference to
Self
for the duration of the
invocation of the function that has an &Self
parameter. This is
required to ensure that the lifetimes don’t persist beyond one function
call, and so that they remain anonymous.Source§impl VectorFromWasmAbi for WasmPastaFpPlonkIndex
impl VectorFromWasmAbi for WasmPastaFpPlonkIndex
type Abi = <Box<[JsValue]> as FromWasmAbi>::Abi
unsafe fn vector_from_abi(js: Self::Abi) -> Box<[WasmPastaFpPlonkIndex]>
Source§impl VectorIntoWasmAbi for WasmPastaFpPlonkIndex
impl VectorIntoWasmAbi for WasmPastaFpPlonkIndex
type Abi = <Box<[JsValue]> as IntoWasmAbi>::Abi
fn vector_into_abi(vector: Box<[WasmPastaFpPlonkIndex]>) -> Self::Abi
Source§impl WasmDescribeVector for WasmPastaFpPlonkIndex
impl WasmDescribeVector for WasmPastaFpPlonkIndex
Auto Trait Implementations§
impl Freeze for WasmPastaFpPlonkIndex
impl RefUnwindSafe for WasmPastaFpPlonkIndex
impl Send for WasmPastaFpPlonkIndex
impl Sync for WasmPastaFpPlonkIndex
impl Unpin for WasmPastaFpPlonkIndex
impl UnwindSafe for WasmPastaFpPlonkIndex
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
Source§type Abi = <T as IntoWasmAbi>::Abi
type Abi = <T as IntoWasmAbi>::Abi
Same as
IntoWasmAbi::Abi
Source§fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
Same as
IntoWasmAbi::into_abi
, except that it may throw and never
return in the case of Err
.