Struct secp256k1::schnorr::Signature [] [src]

pub struct Signature(_);

A Schnorr signature.

Methods

impl Signature
[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 Signature
[src]

Deserializes a signature from a 64-byte vector

Serializes a signature to a 64-byte vector

Trait Implementations

impl Copy for Signature
[src]

impl PartialEq for Signature
[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 Signature
[src]

impl Clone for Signature
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Index<usize> for Signature
[src]

The returned type after indexing

The method for the indexing (container[index]) operation

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

The returned type after indexing

The method for the indexing (container[index]) operation

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

The returned type after indexing

The method for the indexing (container[index]) operation

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

The returned type after indexing

The method for the indexing (container[index]) operation

impl Index<RangeFull> for Signature
[src]

The returned type after indexing

The method for the indexing (container[index]) operation

impl Debug for Signature
[src]

Formats the value using the given formatter.