Struct secp256k1_sys::recovery::RecoverableSignature
source · #[repr(C)]pub struct RecoverableSignature(_);
Expand description
Library-internal representation of a Secp256k1 signature + recovery ID
Implementations§
source§impl RecoverableSignature
impl RecoverableSignature
source§impl RecoverableSignature
impl RecoverableSignature
sourcepub fn new() -> RecoverableSignature
pub fn new() -> RecoverableSignature
Create a new (zeroed) signature usable for the FFI interface
Trait Implementations§
source§impl CPtr for RecoverableSignature
impl CPtr for RecoverableSignature
source§impl Clone for RecoverableSignature
impl Clone for RecoverableSignature
source§fn clone(&self) -> RecoverableSignature
fn clone(&self) -> RecoverableSignature
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for RecoverableSignature
impl Debug for RecoverableSignature
source§impl Default for RecoverableSignature
impl Default for RecoverableSignature
source§impl Hash for RecoverableSignature
impl Hash for RecoverableSignature
source§impl Index<RangeFull> for RecoverableSignature
impl Index<RangeFull> for RecoverableSignature
source§impl Index<usize> for RecoverableSignature
impl Index<usize> for RecoverableSignature
source§impl Ord for RecoverableSignature
impl Ord for RecoverableSignature
source§fn cmp(&self, other: &RecoverableSignature) -> Ordering
fn cmp(&self, other: &RecoverableSignature) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<RecoverableSignature> for RecoverableSignature
impl PartialEq<RecoverableSignature> for RecoverableSignature
source§fn eq(&self, other: &RecoverableSignature) -> bool
fn eq(&self, other: &RecoverableSignature) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<RecoverableSignature> for RecoverableSignature
impl PartialOrd<RecoverableSignature> for RecoverableSignature
source§fn partial_cmp(&self, other: &RecoverableSignature) -> Option<Ordering>
fn partial_cmp(&self, other: &RecoverableSignature) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for RecoverableSignature
impl Eq for RecoverableSignature
Auto Trait Implementations§
impl RefUnwindSafe for RecoverableSignature
impl Send for RecoverableSignature
impl Sync for RecoverableSignature
impl Unpin for RecoverableSignature
impl UnwindSafe for RecoverableSignature
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more