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