pub struct WasmVecVecFp(pub Vec<Vec<Fp>>);
Tuple Fields§
§0: Vec<Vec<Fp>>
Implementations§
Source§impl WasmVecVecFp
impl WasmVecVecFp
pub fn create(n: i32) -> Self
pub fn push(&mut self, x: WasmFlatVector<WasmPastaFp>)
pub fn get(&self, i: i32) -> WasmFlatVector<WasmPastaFp>
pub fn set(&mut self, i: i32, x: WasmFlatVector<WasmPastaFp>)
Trait Implementations§
Source§impl From<WasmVecVecFp> for JsValue
impl From<WasmVecVecFp> for JsValue
Source§fn from(value: WasmVecVecFp) -> Self
fn from(value: WasmVecVecFp) -> Self
Converts to this type from the input type.
Source§impl FromWasmAbi for WasmVecVecFp
impl FromWasmAbi for WasmVecVecFp
Source§impl IntoWasmAbi for WasmVecVecFp
impl IntoWasmAbi for WasmVecVecFp
Source§impl LongRefFromWasmAbi for WasmVecVecFp
impl LongRefFromWasmAbi for WasmVecVecFp
Source§impl OptionFromWasmAbi for WasmVecVecFp
impl OptionFromWasmAbi for WasmVecVecFp
Source§impl OptionIntoWasmAbi for WasmVecVecFp
impl OptionIntoWasmAbi for WasmVecVecFp
Source§impl RefFromWasmAbi for WasmVecVecFp
impl RefFromWasmAbi for WasmVecVecFp
Source§type Anchor = Ref<'static, WasmVecVecFp>
type Anchor = Ref<'static, WasmVecVecFp>
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 WasmVecVecFp
impl RefMutFromWasmAbi for WasmVecVecFp
Source§impl TryFromJsValue for WasmVecVecFp
impl TryFromJsValue for WasmVecVecFp
Source§impl VectorFromWasmAbi for WasmVecVecFp
impl VectorFromWasmAbi for WasmVecVecFp
type Abi = <Box<[JsValue]> as FromWasmAbi>::Abi
unsafe fn vector_from_abi(js: Self::Abi) -> Box<[WasmVecVecFp]>
Source§impl VectorIntoWasmAbi for WasmVecVecFp
impl VectorIntoWasmAbi for WasmVecVecFp
type Abi = <Box<[JsValue]> as IntoWasmAbi>::Abi
fn vector_into_abi(vector: Box<[WasmVecVecFp]>) -> Self::Abi
Source§impl WasmDescribeVector for WasmVecVecFp
impl WasmDescribeVector for WasmVecVecFp
Auto Trait Implementations§
impl Freeze for WasmVecVecFp
impl RefUnwindSafe for WasmVecVecFp
impl Send for WasmVecVecFp
impl Sync for WasmVecVecFp
impl Unpin for WasmVecVecFp
impl UnwindSafe for WasmVecVecFp
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,
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
.