Struct plonk_wasm::oracles::fp::WasmFpOracles
source · pub struct WasmFpOracles {
pub o: WasmFpRandomOracles,
pub p_eval0: WasmPastaFp,
pub p_eval1: WasmPastaFp,
pub opening_prechallenges: WasmFlatVector<WasmPastaFp>,
pub digest_before_evaluations: WasmPastaFp,
}
Fields§
§o: WasmFpRandomOracles
§p_eval0: WasmPastaFp
§p_eval1: WasmPastaFp
§opening_prechallenges: WasmFlatVector<WasmPastaFp>
§digest_before_evaluations: WasmPastaFp
Implementations§
source§impl WasmFpOracles
impl WasmFpOracles
pub fn new( o: WasmFpRandomOracles, p_eval0: WasmPastaFp, p_eval1: WasmPastaFp, opening_prechallenges: WasmFlatVector<WasmPastaFp>, digest_before_evaluations: WasmPastaFp ) -> Self
pub fn opening_prechallenges(&self) -> WasmFlatVector<WasmPastaFp>
pub fn set_opening_prechallenges(&mut self, x: WasmFlatVector<WasmPastaFp>)
Trait Implementations§
source§impl Clone for WasmFpOracles
impl Clone for WasmFpOracles
source§fn clone(&self) -> WasmFpOracles
fn clone(&self) -> WasmFpOracles
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<WasmFpOracles> for JsValue
impl From<WasmFpOracles> for JsValue
source§fn from(value: WasmFpOracles) -> Self
fn from(value: WasmFpOracles) -> Self
Converts to this type from the input type.
source§impl FromWasmAbi for WasmFpOracles
impl FromWasmAbi for WasmFpOracles
source§impl IntoWasmAbi for WasmFpOracles
impl IntoWasmAbi for WasmFpOracles
source§impl LongRefFromWasmAbi for WasmFpOracles
impl LongRefFromWasmAbi for WasmFpOracles
source§impl OptionFromWasmAbi for WasmFpOracles
impl OptionFromWasmAbi for WasmFpOracles
source§impl OptionIntoWasmAbi for WasmFpOracles
impl OptionIntoWasmAbi for WasmFpOracles
source§impl RefFromWasmAbi for WasmFpOracles
impl RefFromWasmAbi for WasmFpOracles
§type Anchor = Ref<'static, WasmFpOracles>
type Anchor = Ref<'static, WasmFpOracles>
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 WasmFpOracles
impl RefMutFromWasmAbi for WasmFpOracles
Auto Trait Implementations§
impl RefUnwindSafe for WasmFpOracles
impl Send for WasmFpOracles
impl Sync for WasmFpOracles
impl Unpin for WasmFpOracles
impl UnwindSafe for WasmFpOracles
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
.