pub struct WasmGPallas {
pub x: WasmPastaFp,
pub y: WasmPastaFp,
pub infinity: bool,
}
Fields§
§x: WasmPastaFp
§y: WasmPastaFp
§infinity: bool
Implementations§
Source§impl WasmGPallas
impl WasmGPallas
pub fn wasm_clone(&self) -> WasmGPallas
Trait Implementations§
Source§impl Clone for WasmGPallas
impl Clone for WasmGPallas
Source§fn clone(&self) -> WasmGPallas
fn clone(&self) -> WasmGPallas
Returns a duplicate 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 Debug for WasmGPallas
impl Debug for WasmGPallas
Source§impl From<&Affine<PallasParameters>> for WasmGPallas
impl From<&Affine<PallasParameters>> for WasmGPallas
Source§fn from(point: &Affine<PallasParameters>) -> WasmGPallas
fn from(point: &Affine<PallasParameters>) -> WasmGPallas
Converts to this type from the input type.
Source§impl From<Affine<PallasParameters>> for WasmGPallas
impl From<Affine<PallasParameters>> for WasmGPallas
Source§fn from(point: Affine<PallasParameters>) -> WasmGPallas
fn from(point: Affine<PallasParameters>) -> WasmGPallas
Converts to this type from the input type.
Source§impl From<WasmGPallas> for JsValue
impl From<WasmGPallas> for JsValue
Source§fn from(value: WasmGPallas) -> JsValue
fn from(value: WasmGPallas) -> JsValue
Converts to this type from the input type.
Source§impl FromWasmAbi for WasmGPallas
impl FromWasmAbi for WasmGPallas
Source§impl IntoWasmAbi for WasmGPallas
impl IntoWasmAbi for WasmGPallas
Source§impl LongRefFromWasmAbi for WasmGPallas
impl LongRefFromWasmAbi for WasmGPallas
Source§type Anchor = Ref<'static, WasmGPallas>
type Anchor = Ref<'static, WasmGPallas>
Same as
RefFromWasmAbi::Anchor
Source§unsafe fn long_ref_from_abi(
js: <WasmGPallas as LongRefFromWasmAbi>::Abi,
) -> <WasmGPallas as LongRefFromWasmAbi>::Anchor
unsafe fn long_ref_from_abi( js: <WasmGPallas as LongRefFromWasmAbi>::Abi, ) -> <WasmGPallas as LongRefFromWasmAbi>::Anchor
Same as
RefFromWasmAbi::ref_from_abi
Source§impl OptionFromWasmAbi for WasmGPallas
impl OptionFromWasmAbi for WasmGPallas
Source§fn is_none(abi: &<WasmGPallas as FromWasmAbi>::Abi) -> bool
fn is_none(abi: &<WasmGPallas as FromWasmAbi>::Abi) -> bool
Tests whether the argument is a “none” instance. If so it will be
deserialized as
None
, and otherwise it will be passed to
FromWasmAbi
.Source§impl OptionIntoWasmAbi for WasmGPallas
impl OptionIntoWasmAbi for WasmGPallas
Source§fn none() -> <WasmGPallas as IntoWasmAbi>::Abi
fn none() -> <WasmGPallas as IntoWasmAbi>::Abi
Returns an ABI instance indicating “none”, which JS will interpret as
the
None
branch of this option. Read moreSource§impl RefFromWasmAbi for WasmGPallas
impl RefFromWasmAbi for WasmGPallas
Source§type Anchor = Ref<'static, WasmGPallas>
type Anchor = Ref<'static, WasmGPallas>
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§unsafe fn ref_from_abi(
js: <WasmGPallas as RefFromWasmAbi>::Abi,
) -> <WasmGPallas as RefFromWasmAbi>::Anchor
unsafe fn ref_from_abi( js: <WasmGPallas as RefFromWasmAbi>::Abi, ) -> <WasmGPallas as RefFromWasmAbi>::Anchor
Source§impl RefMutFromWasmAbi for WasmGPallas
impl RefMutFromWasmAbi for WasmGPallas
Source§type Anchor = RefMut<'static, WasmGPallas>
type Anchor = RefMut<'static, WasmGPallas>
Same as
RefFromWasmAbi::Anchor
Source§unsafe fn ref_mut_from_abi(
js: <WasmGPallas as RefMutFromWasmAbi>::Abi,
) -> <WasmGPallas as RefMutFromWasmAbi>::Anchor
unsafe fn ref_mut_from_abi( js: <WasmGPallas as RefMutFromWasmAbi>::Abi, ) -> <WasmGPallas as RefMutFromWasmAbi>::Anchor
Same as
RefFromWasmAbi::ref_from_abi
Source§impl TryFromJsValue for WasmGPallas
impl TryFromJsValue for WasmGPallas
Source§fn try_from_js_value(
value: JsValue,
) -> Result<WasmGPallas, <WasmGPallas as TryFromJsValue>::Error>
fn try_from_js_value( value: JsValue, ) -> Result<WasmGPallas, <WasmGPallas as TryFromJsValue>::Error>
Performs the conversion.
Source§impl VectorFromWasmAbi for WasmGPallas
impl VectorFromWasmAbi for WasmGPallas
type Abi = <Box<[JsValue]> as FromWasmAbi>::Abi
unsafe fn vector_from_abi( js: <WasmGPallas as VectorFromWasmAbi>::Abi, ) -> Box<[WasmGPallas]>
Source§impl VectorIntoWasmAbi for WasmGPallas
impl VectorIntoWasmAbi for WasmGPallas
type Abi = <Box<[JsValue]> as IntoWasmAbi>::Abi
fn vector_into_abi( vector: Box<[WasmGPallas]>, ) -> <WasmGPallas as VectorIntoWasmAbi>::Abi
impl Copy for WasmGPallas
Auto Trait Implementations§
impl Freeze for WasmGPallas
impl RefUnwindSafe for WasmGPallas
impl Send for WasmGPallas
impl Sync for WasmGPallas
impl Unpin for WasmGPallas
impl UnwindSafe for WasmGPallas
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
.