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