Struct bitcoin::util::taproot::TapTweakTag
source · pub struct TapTweakTag;
Expand description
The tag used for TapTweakHash
Trait Implementations§
source§impl Clone for TapTweakTag
impl Clone for TapTweakTag
source§fn clone(&self) -> TapTweakTag
fn clone(&self) -> TapTweakTag
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 TapTweakTag
impl Default for TapTweakTag
source§fn default() -> TapTweakTag
fn default() -> TapTweakTag
Returns the “default value” for a type. Read more
source§impl Hash for TapTweakTag
impl Hash for TapTweakTag
source§impl Ord for TapTweakTag
impl Ord for TapTweakTag
source§fn cmp(&self, other: &TapTweakTag) -> Ordering
fn cmp(&self, other: &TapTweakTag) -> 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<TapTweakTag> for TapTweakTag
impl PartialEq<TapTweakTag> for TapTweakTag
source§fn eq(&self, other: &TapTweakTag) -> bool
fn eq(&self, other: &TapTweakTag) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<TapTweakTag> for TapTweakTag
impl PartialOrd<TapTweakTag> for TapTweakTag
source§fn partial_cmp(&self, other: &TapTweakTag) -> Option<Ordering>
fn partial_cmp(&self, other: &TapTweakTag) -> 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 TapTweakTag
impl Tag for TapTweakTag
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 TapTweakTag
impl Eq for TapTweakTag
impl StructuralEq for TapTweakTag
impl StructuralPartialEq for TapTweakTag
Auto Trait Implementations§
impl RefUnwindSafe for TapTweakTag
impl Send for TapTweakTag
impl Sync for TapTweakTag
impl Unpin for TapTweakTag
impl UnwindSafe for TapTweakTag
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