Struct secp256k1::ffi::PublicKey[][src]

#[repr(C)]
pub struct PublicKey(_);

Library-internal representation of a Secp256k1 public key

Methods

impl PublicKey
[src]

Converts the object to a raw pointer for FFI interfacing

Converts the object to a mutable raw pointer for FFI interfacing

Returns the length of the object as an array

Returns whether the object as an array is empty

impl PublicKey
[src]

Create a new (zeroed) public key usable for the FFI interface

Create a new (uninitialized) public key usable for the FFI interface

Trait Implementations

impl Copy for PublicKey
[src]

impl PartialEq for PublicKey
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for PublicKey
[src]

impl Clone for PublicKey
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Index<usize> for PublicKey
[src]

The returned type after indexing.

Performs the indexing (container[index]) operation.

impl Index<Range<usize>> for PublicKey
[src]

The returned type after indexing.

Performs the indexing (container[index]) operation.

impl Index<RangeTo<usize>> for PublicKey
[src]

The returned type after indexing.

Performs the indexing (container[index]) operation.

impl Index<RangeFrom<usize>> for PublicKey
[src]

The returned type after indexing.

Performs the indexing (container[index]) operation.

impl Index<RangeFull> for PublicKey
[src]

The returned type after indexing.

Performs the indexing (container[index]) operation.

impl Debug for PublicKey
[src]

Formats the value using the given formatter. Read more

impl Hash for PublicKey
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

impl From<PublicKey> for PublicKey
[src]

Creates a new public key from a FFI public key

Performs the conversion.

Auto Trait Implementations

impl Send for PublicKey

impl Sync for PublicKey