Struct plonk_wasm::oracles::fq::WasmFqRandomOracles
source · pub struct WasmFqRandomOracles {
pub joint_combiner_chal: Option<WasmPastaFq>,
pub joint_combiner: Option<WasmPastaFq>,
pub beta: WasmPastaFq,
pub gamma: WasmPastaFq,
pub alpha_chal: WasmPastaFq,
pub alpha: WasmPastaFq,
pub zeta: WasmPastaFq,
pub v: WasmPastaFq,
pub u: WasmPastaFq,
pub zeta_chal: WasmPastaFq,
pub v_chal: WasmPastaFq,
pub u_chal: WasmPastaFq,
}
Fields§
§joint_combiner_chal: Option<WasmPastaFq>
§joint_combiner: Option<WasmPastaFq>
§beta: WasmPastaFq
§gamma: WasmPastaFq
§alpha_chal: WasmPastaFq
§alpha: WasmPastaFq
§zeta: WasmPastaFq
§v: WasmPastaFq
§u: WasmPastaFq
§zeta_chal: WasmPastaFq
§v_chal: WasmPastaFq
§u_chal: WasmPastaFq
Implementations§
source§impl WasmFqRandomOracles
impl WasmFqRandomOracles
pub fn new( joint_combiner_chal: Option<WasmPastaFq>, joint_combiner: Option<WasmPastaFq>, beta: WasmPastaFq, gamma: WasmPastaFq, alpha_chal: WasmPastaFq, alpha: WasmPastaFq, zeta: WasmPastaFq, v: WasmPastaFq, u: WasmPastaFq, zeta_chal: WasmPastaFq, v_chal: WasmPastaFq, u_chal: WasmPastaFq ) -> Self
Trait Implementations§
source§impl Clone for WasmFqRandomOracles
impl Clone for WasmFqRandomOracles
source§fn clone(&self) -> WasmFqRandomOracles
fn clone(&self) -> WasmFqRandomOracles
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<FrConfig, 4>, 4>>> for WasmFqRandomOracles
impl From<RandomOracles<Fp<MontBackend<FrConfig, 4>, 4>>> for WasmFqRandomOracles
source§impl From<WasmFqRandomOracles> for JsValue
impl From<WasmFqRandomOracles> for JsValue
source§fn from(value: WasmFqRandomOracles) -> Self
fn from(value: WasmFqRandomOracles) -> Self
Converts to this type from the input type.
source§impl From<WasmFqRandomOracles> for RandomOracles<Fq>
impl From<WasmFqRandomOracles> for RandomOracles<Fq>
source§fn from(ro: WasmFqRandomOracles) -> Self
fn from(ro: WasmFqRandomOracles) -> Self
Converts to this type from the input type.
source§impl FromWasmAbi for WasmFqRandomOracles
impl FromWasmAbi for WasmFqRandomOracles
source§impl IntoWasmAbi for WasmFqRandomOracles
impl IntoWasmAbi for WasmFqRandomOracles
source§impl RefFromWasmAbi for WasmFqRandomOracles
impl RefFromWasmAbi for WasmFqRandomOracles
§type Anchor = Ref<'static, WasmFqRandomOracles>
type Anchor = Ref<'static, WasmFqRandomOracles>
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 WasmFqRandomOracles
Auto Trait Implementations§
impl RefUnwindSafe for WasmFqRandomOracles
impl Send for WasmFqRandomOracles
impl Sync for WasmFqRandomOracles
impl Unpin for WasmFqRandomOracles
impl UnwindSafe for WasmFqRandomOracles
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
.