Struct plonk_wasm::oracles::fp::WasmFpRandomOracles
source · pub struct WasmFpRandomOracles {
pub joint_combiner_chal: Option<WasmPastaFp>,
pub joint_combiner: Option<WasmPastaFp>,
pub beta: WasmPastaFp,
pub gamma: WasmPastaFp,
pub alpha_chal: WasmPastaFp,
pub alpha: WasmPastaFp,
pub zeta: WasmPastaFp,
pub v: WasmPastaFp,
pub u: WasmPastaFp,
pub zeta_chal: WasmPastaFp,
pub v_chal: WasmPastaFp,
pub u_chal: WasmPastaFp,
}
Fields§
§joint_combiner_chal: Option<WasmPastaFp>
§joint_combiner: Option<WasmPastaFp>
§beta: WasmPastaFp
§gamma: WasmPastaFp
§alpha_chal: WasmPastaFp
§alpha: WasmPastaFp
§zeta: WasmPastaFp
§v: WasmPastaFp
§u: WasmPastaFp
§zeta_chal: WasmPastaFp
§v_chal: WasmPastaFp
§u_chal: WasmPastaFp
Implementations§
source§impl WasmFpRandomOracles
impl WasmFpRandomOracles
pub fn new( joint_combiner_chal: Option<WasmPastaFp>, joint_combiner: Option<WasmPastaFp>, beta: WasmPastaFp, gamma: WasmPastaFp, alpha_chal: WasmPastaFp, alpha: WasmPastaFp, zeta: WasmPastaFp, v: WasmPastaFp, u: WasmPastaFp, zeta_chal: WasmPastaFp, v_chal: WasmPastaFp, u_chal: WasmPastaFp ) -> Self
Trait Implementations§
source§impl Clone for WasmFpRandomOracles
impl Clone for WasmFpRandomOracles
source§fn clone(&self) -> WasmFpRandomOracles
fn clone(&self) -> WasmFpRandomOracles
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl From<RandomOracles<Fp<MontBackend<FqConfig, 4>, 4>>> for WasmFpRandomOracles
impl From<RandomOracles<Fp<MontBackend<FqConfig, 4>, 4>>> for WasmFpRandomOracles
source§impl From<WasmFpRandomOracles> for JsValue
impl From<WasmFpRandomOracles> for JsValue
source§fn from(value: WasmFpRandomOracles) -> Self
fn from(value: WasmFpRandomOracles) -> Self
Converts to this type from the input type.
source§impl From<WasmFpRandomOracles> for RandomOracles<Fp>
impl From<WasmFpRandomOracles> for RandomOracles<Fp>
source§fn from(ro: WasmFpRandomOracles) -> Self
fn from(ro: WasmFpRandomOracles) -> Self
Converts to this type from the input type.
source§impl FromWasmAbi for WasmFpRandomOracles
impl FromWasmAbi for WasmFpRandomOracles
source§impl IntoWasmAbi for WasmFpRandomOracles
impl IntoWasmAbi for WasmFpRandomOracles
source§impl RefFromWasmAbi for WasmFpRandomOracles
impl RefFromWasmAbi for WasmFpRandomOracles
§type Anchor = Ref<'static, WasmFpRandomOracles>
type Anchor = Ref<'static, WasmFpRandomOracles>
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.impl Copy for WasmFpRandomOracles
Auto Trait Implementations§
impl RefUnwindSafe for WasmFpRandomOracles
impl Send for WasmFpRandomOracles
impl Sync for WasmFpRandomOracles
impl Unpin for WasmFpRandomOracles
impl UnwindSafe for WasmFpRandomOracles
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,
§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
.