Struct plonk_wasm::poly_comm::vesta::WasmFpPolyComm
source · pub struct WasmFpPolyComm {
pub unshifted: WasmVector<WasmGVesta>,
pub shifted: Option<WasmGVesta>,
}
Fields§
§unshifted: WasmVector<WasmGVesta>
§shifted: Option<WasmGVesta>
Implementations§
source§impl WasmFpPolyComm
impl WasmFpPolyComm
pub fn new( unshifted: WasmVector<WasmGVesta>, shifted: Option<WasmGVesta> ) -> Self
pub fn unshifted(&self) -> WasmVector<WasmGVesta>
pub fn set_unshifted(&mut self, x: WasmVector<WasmGVesta>)
Trait Implementations§
source§impl Clone for WasmFpPolyComm
impl Clone for WasmFpPolyComm
source§fn clone(&self) -> WasmFpPolyComm
fn clone(&self) -> WasmFpPolyComm
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<&PolyComm<Affine<VestaParameters>>> for WasmFpPolyComm
impl From<&PolyComm<Affine<VestaParameters>>> for WasmFpPolyComm
source§impl From<&WasmFpPolyComm> for PolyComm<GAffine>
impl From<&WasmFpPolyComm> for PolyComm<GAffine>
source§fn from(x: &WasmFpPolyComm) -> Self
fn from(x: &WasmFpPolyComm) -> Self
Converts to this type from the input type.
source§impl From<PolyComm<Affine<VestaParameters>>> for WasmFpPolyComm
impl From<PolyComm<Affine<VestaParameters>>> for WasmFpPolyComm
source§impl From<WasmFpPolyComm> for JsValue
impl From<WasmFpPolyComm> for JsValue
source§fn from(value: WasmFpPolyComm) -> Self
fn from(value: WasmFpPolyComm) -> Self
Converts to this type from the input type.
source§impl From<WasmFpPolyComm> for PolyComm<GAffine>
impl From<WasmFpPolyComm> for PolyComm<GAffine>
source§fn from(x: WasmFpPolyComm) -> Self
fn from(x: WasmFpPolyComm) -> Self
Converts to this type from the input type.
source§impl FromWasmAbi for WasmFpPolyComm
impl FromWasmAbi for WasmFpPolyComm
source§impl IntoWasmAbi for WasmFpPolyComm
impl IntoWasmAbi for WasmFpPolyComm
source§impl LongRefFromWasmAbi for WasmFpPolyComm
impl LongRefFromWasmAbi for WasmFpPolyComm
source§impl OptionFromWasmAbi for WasmFpPolyComm
impl OptionFromWasmAbi for WasmFpPolyComm
source§impl OptionIntoWasmAbi for WasmFpPolyComm
impl OptionIntoWasmAbi for WasmFpPolyComm
source§impl RefFromWasmAbi for WasmFpPolyComm
impl RefFromWasmAbi for WasmFpPolyComm
§type Anchor = Ref<'static, WasmFpPolyComm>
type Anchor = Ref<'static, WasmFpPolyComm>
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 WasmFpPolyComm
impl RefMutFromWasmAbi for WasmFpPolyComm
Auto Trait Implementations§
impl RefUnwindSafe for WasmFpPolyComm
impl Send for WasmFpPolyComm
impl Sync for WasmFpPolyComm
impl Unpin for WasmFpPolyComm
impl UnwindSafe for WasmFpPolyComm
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
.