Struct bitcoin::util::taproot::TapBranchTag
source · pub struct TapBranchTag;
Expand description
The tag used for TapBranchHash
Trait Implementations§
source§impl Clone for TapBranchTag
impl Clone for TapBranchTag
source§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 moresource§impl Default for TapBranchTag
impl Default for TapBranchTag
source§fn default() -> TapBranchTag
fn default() -> TapBranchTag
Returns the “default value” for a type. Read more
source§impl Hash for TapBranchTag
impl Hash for TapBranchTag
source§impl Ord for TapBranchTag
impl Ord for TapBranchTag
source§fn cmp(&self, other: &TapBranchTag) -> Ordering
fn cmp(&self, other: &TapBranchTag) -> 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<TapBranchTag> for TapBranchTag
impl PartialEq<TapBranchTag> for TapBranchTag
source§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 ==
.source§impl PartialOrd<TapBranchTag> for TapBranchTag
impl PartialOrd<TapBranchTag> for TapBranchTag
source§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 moresource§impl Tag for TapBranchTag
impl Tag for TapBranchTag
source§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