Struct bp::TapMerklePath
source · pub struct TapMerklePath(_);
Trait Implementations§
source§impl AsRef<<TapMerklePath as Wrapper>::Inner> for TapMerklePath
impl AsRef<<TapMerklePath as Wrapper>::Inner> for TapMerklePath
source§impl Borrow<<TapMerklePath as Wrapper>::Inner> for TapMerklePath
impl Borrow<<TapMerklePath as Wrapper>::Inner> for TapMerklePath
source§impl Clone for TapMerklePath
impl Clone for TapMerklePath
source§fn clone(&self) -> TapMerklePath
fn clone(&self) -> TapMerklePath
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 TapMerklePath
impl Debug for TapMerklePath
source§impl Deref for TapMerklePath
impl Deref for TapMerklePath
source§impl<'de> Deserialize<'de> for TapMerklePath
impl<'de> Deserialize<'de> for TapMerklePath
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<TapMerklePath, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>( __deserializer: __D ) -> Result<TapMerklePath, <__D as Deserializer<'de>>::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl From<Confined<Vec<TapBranchHash, Global>, amplify::::collection::confinement::TinyVec::{constant#0}, amplify::::collection::confinement::TinyVec::{constant#1}>> for TapMerklePath
impl From<Confined<Vec<TapBranchHash, Global>, amplify::::collection::confinement::TinyVec::{constant#0}, amplify::::collection::confinement::TinyVec::{constant#1}>> for TapMerklePath
source§fn from(
v: Confined<Vec<TapBranchHash, Global>, amplify::::collection::confinement::TinyVec::{constant#0}, amplify::::collection::confinement::TinyVec::{constant#1}>
) -> TapMerklePath
fn from( v: Confined<Vec<TapBranchHash, Global>, amplify::::collection::confinement::TinyVec::{constant#0}, amplify::::collection::confinement::TinyVec::{constant#1}> ) -> TapMerklePath
Converts to this type from the input type.
source§impl From<TapMerklePath> for Confined<Vec<TapBranchHash, Global>, amplify::::collection::confinement::TinyVec::{constant#0}, amplify::::collection::confinement::TinyVec::{constant#1}>
impl From<TapMerklePath> for Confined<Vec<TapBranchHash, Global>, amplify::::collection::confinement::TinyVec::{constant#0}, amplify::::collection::confinement::TinyVec::{constant#1}>
source§fn from(
wrapped: TapMerklePath
) -> Confined<Vec<TapBranchHash, Global>, amplify::::collection::confinement::TinyVec::{constant#0}, amplify::::collection::confinement::TinyVec::{constant#1}>
fn from( wrapped: TapMerklePath ) -> Confined<Vec<TapBranchHash, Global>, amplify::::collection::confinement::TinyVec::{constant#0}, amplify::::collection::confinement::TinyVec::{constant#1}>
Converts to this type from the input type.
source§impl Hash for TapMerklePath
impl Hash for TapMerklePath
source§impl Ord for TapMerklePath
impl Ord for TapMerklePath
source§fn cmp(&self, other: &TapMerklePath) -> Ordering
fn cmp(&self, other: &TapMerklePath) -> 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<TapMerklePath> for TapMerklePath
impl PartialEq<TapMerklePath> for TapMerklePath
source§fn eq(&self, other: &TapMerklePath) -> bool
fn eq(&self, other: &TapMerklePath) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<TapMerklePath> for TapMerklePath
impl PartialOrd<TapMerklePath> for TapMerklePath
source§fn partial_cmp(&self, other: &TapMerklePath) -> Option<Ordering>
fn partial_cmp(&self, other: &TapMerklePath) -> 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 Serialize for TapMerklePath
impl Serialize for TapMerklePath
source§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>( &self, __serializer: __S ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where __S: Serializer,
Serialize this value into the given Serde serializer. Read more
source§impl Wrapper for TapMerklePath
impl Wrapper for TapMerklePath
§type Inner = Confined<Vec<TapBranchHash, Global>, amplify::::collection::confinement::TinyVec::{constant#0}, amplify::::collection::confinement::TinyVec::{constant#1}>
type Inner = Confined<Vec<TapBranchHash, Global>, amplify::::collection::confinement::TinyVec::{constant#0}, amplify::::collection::confinement::TinyVec::{constant#1}>
Inner type wrapped by the current newtype
source§fn from_inner(inner: <TapMerklePath as Wrapper>::Inner) -> TapMerklePath
fn from_inner(inner: <TapMerklePath as Wrapper>::Inner) -> TapMerklePath
Instantiates wrapper type with the inner data
source§fn as_inner(&self) -> &<TapMerklePath as Wrapper>::Inner
fn as_inner(&self) -> &<TapMerklePath as Wrapper>::Inner
Returns reference to the inner representation for the wrapper type
source§fn into_inner(self) -> <TapMerklePath as Wrapper>::Inner
fn into_inner(self) -> <TapMerklePath as Wrapper>::Inner
Unwraps the wrapper returning the inner type
impl Eq for TapMerklePath
impl StructuralEq for TapMerklePath
impl StructuralPartialEq for TapMerklePath
Auto Trait Implementations§
impl RefUnwindSafe for TapMerklePath
impl Send for TapMerklePath
impl Sync for TapMerklePath
impl Unpin for TapMerklePath
impl UnwindSafe for TapMerklePath
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.