Struct nostr_sdk::bitcoin::taproot::TapBranchTag
pub struct TapBranchTag;
Expand description
The tag used for TapNodeHash
Trait Implementations§
§impl Clone for TapBranchTag
impl Clone for TapBranchTag
§fn clone(&self) -> TapBranchTag
fn clone(&self) -> TapBranchTag
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 more§impl Default for TapBranchTag
impl Default for TapBranchTag
§fn default() -> TapBranchTag
fn default() -> TapBranchTag
Returns the “default value” for a type. Read more
§impl Hash for TapBranchTag
impl Hash for TapBranchTag
§impl Ord for TapBranchTag
impl Ord for TapBranchTag
§impl PartialEq<TapBranchTag> for TapBranchTag
impl PartialEq<TapBranchTag> for TapBranchTag
§fn eq(&self, other: &TapBranchTag) -> bool
fn eq(&self, other: &TapBranchTag) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.§impl PartialOrd<TapBranchTag> for TapBranchTag
impl PartialOrd<TapBranchTag> for TapBranchTag
§fn partial_cmp(&self, other: &TapBranchTag) -> Option<Ordering>
fn partial_cmp(&self, other: &TapBranchTag) -> 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 more§impl Tag for TapBranchTag
impl Tag for TapBranchTag
§fn engine() -> HashEngine ⓘ
fn engine() -> HashEngine ⓘ
Returns a hash engine that is pre-tagged and is ready to be used for the data.
impl Copy for TapBranchTag
impl Eq for TapBranchTag
impl StructuralEq for TapBranchTag
impl StructuralPartialEq for TapBranchTag
Auto Trait Implementations§
impl RefUnwindSafe for TapBranchTag
impl Send for TapBranchTag
impl Sync for TapBranchTag
impl Unpin for TapBranchTag
impl UnwindSafe for TapBranchTag
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 Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.