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