Struct plonk_wasm::oracles::fq::WasmFqOracles
source · 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
§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
Auto Trait Implementations§
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
§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
.