pub struct WasmGVesta {
pub x: NapiPastaFq,
pub y: NapiPastaFq,
pub infinity: bool,
}Fields§
§x: NapiPastaFq§y: NapiPastaFq§infinity: boolTrait Implementations§
Source§impl Clone for NapiGVesta
impl Clone for NapiGVesta
Source§fn clone(&self) -> NapiGVesta
fn clone(&self) -> NapiGVesta
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 NapiGVesta
impl Debug for NapiGVesta
Source§impl Default for NapiGVesta
impl Default for NapiGVesta
Source§fn default() -> NapiGVesta
fn default() -> NapiGVesta
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for NapiGVesta
impl<'de> Deserialize<'de> for NapiGVesta
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<&Affine<VestaParameters>> for NapiGVesta
impl From<&Affine<VestaParameters>> for NapiGVesta
Source§fn from(point: &AffineVesta) -> Self
fn from(point: &AffineVesta) -> Self
Converts to this type from the input type.
Source§impl From<&NapiGVesta> for Vesta
impl From<&NapiGVesta> for Vesta
Source§fn from(point: &NapiGVesta) -> Self
fn from(point: &NapiGVesta) -> Self
Converts to this type from the input type.
Source§impl From<Affine<VestaParameters>> for NapiGVesta
impl From<Affine<VestaParameters>> for NapiGVesta
Source§fn from(point: AffineVesta) -> Self
fn from(point: AffineVesta) -> Self
Converts to this type from the input type.
Source§impl From<NapiGVesta> for Vesta
impl From<NapiGVesta> for Vesta
Source§fn from(point: NapiGVesta) -> Self
fn from(point: NapiGVesta) -> Self
Converts to this type from the input type.
Source§impl FromNapiValue for NapiGVesta
impl FromNapiValue for NapiGVesta
Source§unsafe fn from_napi_value(
env: napi_env,
napi_val: napi_value,
) -> Result<NapiGVesta>
unsafe fn from_napi_value( env: napi_env, napi_val: napi_value, ) -> Result<NapiGVesta>
Safety Read more
fn from_unknown(value: Unknown<'_>) -> Result<Self, Error>
Source§impl Serialize for NapiGVesta
impl Serialize for NapiGVesta
Source§impl ToNapiValue for NapiGVesta
impl ToNapiValue for NapiGVesta
Source§unsafe fn to_napi_value(env: napi_env, val: NapiGVesta) -> Result<napi_value>
unsafe fn to_napi_value(env: napi_env, val: NapiGVesta) -> Result<napi_value>
Safety Read more
fn into_unknown(self, env: &Env) -> Result<Unknown<'_>, Error>
Source§impl TypeName for NapiGVesta
impl TypeName for NapiGVesta
Auto Trait Implementations§
impl Freeze for NapiGVesta
impl RefUnwindSafe for NapiGVesta
impl Send for NapiGVesta
impl Sync for NapiGVesta
impl Unpin for NapiGVesta
impl UnsafeUnpin for NapiGVesta
impl UnwindSafe for NapiGVesta
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