Struct elements::taproot::LeafVersion
source · [−]pub struct LeafVersion(_);Expand description
The leaf version for tapleafs
Implementations
sourceimpl LeafVersion
impl LeafVersion
Trait Implementations
sourceimpl Clone for LeafVersion
impl Clone for LeafVersion
sourcefn clone(&self) -> LeafVersion
fn clone(&self) -> LeafVersion
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for LeafVersion
impl Debug for LeafVersion
sourceimpl Default for LeafVersion
impl Default for LeafVersion
sourceimpl Hash for LeafVersion
impl Hash for LeafVersion
sourceimpl Into<u8> for LeafVersion
impl Into<u8> for LeafVersion
sourceimpl Ord for LeafVersion
impl Ord for LeafVersion
sourceimpl PartialEq<LeafVersion> for LeafVersion
impl PartialEq<LeafVersion> for LeafVersion
sourcefn eq(&self, other: &LeafVersion) -> bool
fn eq(&self, other: &LeafVersion) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &LeafVersion) -> bool
fn ne(&self, other: &LeafVersion) -> bool
This method tests for !=.
sourceimpl PartialOrd<LeafVersion> for LeafVersion
impl PartialOrd<LeafVersion> for LeafVersion
sourcefn partial_cmp(&self, other: &LeafVersion) -> Option<Ordering>
fn partial_cmp(&self, other: &LeafVersion) -> Option<Ordering>
This method returns an ordering between self and other values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · sourcefn 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 Copy for LeafVersion
impl Eq for LeafVersion
impl StructuralEq for LeafVersion
impl StructuralPartialEq for LeafVersion
Auto Trait Implementations
impl RefUnwindSafe for LeafVersion
impl Send for LeafVersion
impl Sync for LeafVersion
impl Unpin for LeafVersion
impl UnwindSafe for LeafVersion
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more