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
Source§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.Source§impl TryFromJsValue for WasmFpRandomOracles
impl TryFromJsValue for WasmFpRandomOracles
Source§impl VectorFromWasmAbi for WasmFpRandomOracles
impl VectorFromWasmAbi for WasmFpRandomOracles
type Abi = <Box<[JsValue]> as FromWasmAbi>::Abi
unsafe fn vector_from_abi(js: Self::Abi) -> Box<[WasmFpRandomOracles]>
Source§impl VectorIntoWasmAbi for WasmFpRandomOracles
impl VectorIntoWasmAbi for WasmFpRandomOracles
type Abi = <Box<[JsValue]> as IntoWasmAbi>::Abi
fn vector_into_abi(vector: Box<[WasmFpRandomOracles]>) -> Self::Abi
Source§impl WasmDescribeVector for WasmFpRandomOracles
impl WasmDescribeVector for WasmFpRandomOracles
impl Copy for WasmFpRandomOracles
Auto Trait Implementations§
impl Freeze for WasmFpRandomOracles
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§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
.