pub struct WasmFqOracles {
pub o: WasmFqRandomOracles,
pub p_eval0: WasmPastaFq,
pub p_eval1: WasmPastaFq,
pub opening_prechallenges: WasmFlatVector<WasmPastaFq>,
pub digest_before_evaluations: WasmPastaFq,
}
Fields§
§o: WasmFqRandomOracles
§p_eval0: WasmPastaFq
§p_eval1: WasmPastaFq
§opening_prechallenges: WasmFlatVector<WasmPastaFq>
§digest_before_evaluations: WasmPastaFq
Implementations§
Source§impl WasmFqOracles
impl WasmFqOracles
pub fn new( o: WasmFqRandomOracles, p_eval0: WasmPastaFq, p_eval1: WasmPastaFq, opening_prechallenges: WasmFlatVector<WasmPastaFq>, digest_before_evaluations: WasmPastaFq, ) -> Self
pub fn opening_prechallenges(&self) -> WasmFlatVector<WasmPastaFq>
pub fn set_opening_prechallenges(&mut self, x: WasmFlatVector<WasmPastaFq>)
Trait Implementations§
Source§impl Clone for WasmFqOracles
impl Clone for WasmFqOracles
Source§fn clone(&self) -> WasmFqOracles
fn clone(&self) -> WasmFqOracles
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<WasmFqOracles> for JsValue
impl From<WasmFqOracles> for JsValue
Source§fn from(value: WasmFqOracles) -> Self
fn from(value: WasmFqOracles) -> Self
Converts to this type from the input type.
Source§impl FromWasmAbi for WasmFqOracles
impl FromWasmAbi for WasmFqOracles
Source§impl IntoWasmAbi for WasmFqOracles
impl IntoWasmAbi for WasmFqOracles
Source§impl LongRefFromWasmAbi for WasmFqOracles
impl LongRefFromWasmAbi for WasmFqOracles
Source§impl OptionFromWasmAbi for WasmFqOracles
impl OptionFromWasmAbi for WasmFqOracles
Source§impl OptionIntoWasmAbi for WasmFqOracles
impl OptionIntoWasmAbi for WasmFqOracles
Source§impl RefFromWasmAbi for WasmFqOracles
impl RefFromWasmAbi for WasmFqOracles
Source§type Anchor = Ref<'static, WasmFqOracles>
type Anchor = Ref<'static, WasmFqOracles>
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 RefMutFromWasmAbi for WasmFqOracles
impl RefMutFromWasmAbi for WasmFqOracles
Source§impl TryFromJsValue for WasmFqOracles
impl TryFromJsValue for WasmFqOracles
Source§impl VectorFromWasmAbi for WasmFqOracles
impl VectorFromWasmAbi for WasmFqOracles
type Abi = <Box<[JsValue]> as FromWasmAbi>::Abi
unsafe fn vector_from_abi(js: Self::Abi) -> Box<[WasmFqOracles]>
Source§impl VectorIntoWasmAbi for WasmFqOracles
impl VectorIntoWasmAbi for WasmFqOracles
type Abi = <Box<[JsValue]> as IntoWasmAbi>::Abi
fn vector_into_abi(vector: Box<[WasmFqOracles]>) -> Self::Abi
Source§impl WasmDescribeVector for WasmFqOracles
impl WasmDescribeVector for WasmFqOracles
Auto Trait Implementations§
impl Freeze for WasmFqOracles
impl RefUnwindSafe for WasmFqOracles
impl Send for WasmFqOracles
impl Sync for WasmFqOracles
impl Unpin for WasmFqOracles
impl UnwindSafe for WasmFqOracles
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
.