pub struct InternalKeypair(/* private fields */);
Expand description
Internal taproot public key, which can be present only in key fragment inside taproot descriptors.
Implementations§
Source§impl InternalKeypair
impl InternalKeypair
pub fn to_output_keypair( &self, merkle_root: Option<TapNodeHash>, ) -> (Keypair, Parity)
Trait Implementations§
Source§impl From<Keypair> for InternalKeypair
impl From<Keypair> for InternalKeypair
Source§impl PartialEq for InternalKeypair
impl PartialEq for InternalKeypair
impl Eq for InternalKeypair
impl StructuralPartialEq for InternalKeypair
Auto Trait Implementations§
impl Freeze for InternalKeypair
impl RefUnwindSafe for InternalKeypair
impl Send for InternalKeypair
impl Sync for InternalKeypair
impl Unpin for InternalKeypair
impl UnwindSafe for InternalKeypair
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.