Struct secp256k1_test::ffi::PublicKey [] [src]

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

Library-internal representation of a Secp256k1 public key

Methods

impl PublicKey
[src]

[src]

Converts the object to a raw pointer for FFI interfacing

[src]

Converts the object to a mutable raw pointer for FFI interfacing

[src]

Returns the length of the object as an array

[src]

Returns whether the object as an array is empty

impl PublicKey
[src]

[src]

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

[src]

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

Trait Implementations

impl Copy for PublicKey
[src]

impl PartialEq for PublicKey
[src]

[src]

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

1.0.0
[src]

This method tests for !=.

impl Eq for PublicKey
[src]

impl Clone for PublicKey
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Index<usize> for PublicKey
[src]

The returned type after indexing.

[src]

Performs the indexing (container[index]) operation.

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

The returned type after indexing.

[src]

Performs the indexing (container[index]) operation.

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

The returned type after indexing.

[src]

Performs the indexing (container[index]) operation.

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

The returned type after indexing.

[src]

Performs the indexing (container[index]) operation.

impl Index<RangeFull> for PublicKey
[src]

The returned type after indexing.

[src]

Performs the indexing (container[index]) operation.

impl Decodable for PublicKey
[src]

[src]

Deserialize a value using a Decoder.

impl Encodable for PublicKey
[src]

[src]

Serialize a value using an Encoder.

impl<'de> Deserialize<'de> for PublicKey
[src]

[src]

Deserialize this value from the given Serde deserializer. Read more

impl Serialize for PublicKey
[src]

[src]

Serialize this value into the given Serde serializer. Read more

impl Debug for PublicKey
[src]

[src]

Formats the value using the given formatter.

impl Hash for PublicKey
[src]

[src]

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

1.3.0
[src]

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