Struct bc_components::SchnorrPublicKey
source · pub struct SchnorrPublicKey(_);
Expand description
A Schnorr (x-only) elliptic curve public key.
Implementations§
Trait Implementations§
source§impl AsRef<[u8]> for SchnorrPublicKey
impl AsRef<[u8]> for SchnorrPublicKey
source§impl Clone for SchnorrPublicKey
impl Clone for SchnorrPublicKey
source§fn clone(&self) -> SchnorrPublicKey
fn clone(&self) -> SchnorrPublicKey
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 SchnorrPublicKey
impl Debug for SchnorrPublicKey
source§impl Display for SchnorrPublicKey
impl Display for SchnorrPublicKey
source§impl ECKeyBase for SchnorrPublicKey
impl ECKeyBase for SchnorrPublicKey
source§impl<'a> From<&'a SchnorrPublicKey> for &'a [u8; 32]
impl<'a> From<&'a SchnorrPublicKey> for &'a [u8; 32]
source§fn from(value: &'a SchnorrPublicKey) -> Self
fn from(value: &'a SchnorrPublicKey) -> Self
Converts to this type from the input type.
source§impl Hash for SchnorrPublicKey
impl Hash for SchnorrPublicKey
source§impl PartialEq<SchnorrPublicKey> for SchnorrPublicKey
impl PartialEq<SchnorrPublicKey> for SchnorrPublicKey
source§fn eq(&self, other: &SchnorrPublicKey) -> bool
fn eq(&self, other: &SchnorrPublicKey) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for SchnorrPublicKey
impl StructuralEq for SchnorrPublicKey
impl StructuralPartialEq for SchnorrPublicKey
Auto Trait Implementations§
impl RefUnwindSafe for SchnorrPublicKey
impl Send for SchnorrPublicKey
impl Sync for SchnorrPublicKey
impl Unpin for SchnorrPublicKey
impl UnwindSafe for SchnorrPublicKey
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
source§impl<T> ToHex for Twhere
T: AsRef<[u8]>,
impl<T> ToHex for Twhere T: AsRef<[u8]>,
source§fn encode_hex<U>(&self) -> Uwhere
U: FromIterator<char>,
fn encode_hex<U>(&self) -> Uwhere U: FromIterator<char>,
Encode the hex strict representing
self
into the result. Lower case
letters are used (e.g. f9b4ca
)source§fn encode_hex_upper<U>(&self) -> Uwhere
U: FromIterator<char>,
fn encode_hex_upper<U>(&self) -> Uwhere U: FromIterator<char>,
Encode the hex strict representing
self
into the result. Upper case
letters are used (e.g. F9B4CA
)