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