Struct secp256k1_sys::XOnlyPublicKey [−][src]
#[repr(C)]pub struct XOnlyPublicKey(_);
Implementations
Converts the object to a mutable raw pointer for FFI interfacing
Creates an “uninitialized” FFI x-only public key which is zeroed out
If you pass this to any FFI functions, except as an out-pointer, the result is likely to be an assertation failure and process termination.
Create a new x-only public key usable for the FFI interface from raw bytes
Does not check the validity of the underlying representation. If it is invalid the result may be assertation failures (and process aborts) from the underlying library. You should not use this method except with data that you obtained from the FFI interface of the same version of this library.
Returns the underlying FFI opaque representation of the x-only public key
You should not use this unless you really know what you are doing. It is essentially only useful for extending the FFI interface itself.
Trait Implementations
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for XOnlyPublicKey
impl Send for XOnlyPublicKey
impl Sync for XOnlyPublicKey
impl Unpin for XOnlyPublicKey
impl UnwindSafe for XOnlyPublicKey
Blanket Implementations
Mutably borrows from an owned value. Read more