Struct miniscript::DummyHash160Hash
source · pub struct DummyHash160Hash;
Expand description
Dummy keyhash which de/serializes to the empty string; useful for testing
Trait Implementations§
source§impl Clone for DummyHash160Hash
impl Clone for DummyHash160Hash
source§fn clone(&self) -> DummyHash160Hash
fn clone(&self) -> DummyHash160Hash
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 DummyHash160Hash
impl Debug for DummyHash160Hash
source§impl Default for DummyHash160Hash
impl Default for DummyHash160Hash
source§fn default() -> DummyHash160Hash
fn default() -> DummyHash160Hash
Returns the “default value” for a type. Read more
source§impl Display for DummyHash160Hash
impl Display for DummyHash160Hash
source§impl FromStr for DummyHash160Hash
impl FromStr for DummyHash160Hash
source§impl Hash for DummyHash160Hash
impl Hash for DummyHash160Hash
source§impl Ord for DummyHash160Hash
impl Ord for DummyHash160Hash
source§fn cmp(&self, other: &DummyHash160Hash) -> Ordering
fn cmp(&self, other: &DummyHash160Hash) -> 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<DummyHash160Hash> for DummyHash160Hash
impl PartialEq<DummyHash160Hash> for DummyHash160Hash
source§fn eq(&self, other: &DummyHash160Hash) -> bool
fn eq(&self, other: &DummyHash160Hash) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<DummyHash160Hash> for DummyHash160Hash
impl PartialOrd<DummyHash160Hash> for DummyHash160Hash
source§fn partial_cmp(&self, other: &DummyHash160Hash) -> Option<Ordering>
fn partial_cmp(&self, other: &DummyHash160Hash) -> 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 moreimpl Copy for DummyHash160Hash
impl Eq for DummyHash160Hash
impl StructuralEq for DummyHash160Hash
impl StructuralPartialEq for DummyHash160Hash
Auto Trait Implementations§
impl RefUnwindSafe for DummyHash160Hash
impl Send for DummyHash160Hash
impl Sync for DummyHash160Hash
impl Unpin for DummyHash160Hash
impl UnwindSafe for DummyHash160Hash
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