pub struct ECPoint { /* private fields */ }
Implementations§
source§impl ECPoint
impl ECPoint
pub fn decompress(&self) -> RistrettoPoint
pub fn to_bytes(&self) -> Vec<u8>
Trait Implementations§
source§impl<'de> Deserialize<'de> for ECPoint
impl<'de> Deserialize<'de> for ECPoint
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 FromWasmAbi for ECPoint
impl FromWasmAbi for ECPoint
source§impl IntoWasmAbi for ECPoint
impl IntoWasmAbi for ECPoint
source§impl LongRefFromWasmAbi for ECPoint
impl LongRefFromWasmAbi for ECPoint
source§impl OptionFromWasmAbi for ECPoint
impl OptionFromWasmAbi for ECPoint
source§impl OptionIntoWasmAbi for ECPoint
impl OptionIntoWasmAbi for ECPoint
source§impl RefFromWasmAbi for ECPoint
impl RefFromWasmAbi for ECPoint
source§impl RefMutFromWasmAbi for ECPoint
impl RefMutFromWasmAbi for ECPoint
Auto Trait Implementations§
impl RefUnwindSafe for ECPoint
impl Send for ECPoint
impl Sync for ECPoint
impl Unpin for ECPoint
impl UnwindSafe for ECPoint
Blanket Implementations§
source§impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
impl<T> ReturnWasmAbi for Twhere T: IntoWasmAbi,
§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
.