Struct zip32::DiversifierIndex
source · pub struct DiversifierIndex(/* private fields */);
Expand description
The index for a particular diversifier.
Implementations§
Trait Implementations§
source§impl Clone for DiversifierIndex
impl Clone for DiversifierIndex
source§fn clone(&self) -> DiversifierIndex
fn clone(&self) -> DiversifierIndex
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 DiversifierIndex
impl Debug for DiversifierIndex
source§impl Default for DiversifierIndex
impl Default for DiversifierIndex
source§impl From<DiversifierIndex> for u128
impl From<DiversifierIndex> for u128
source§fn from(di: DiversifierIndex) -> Self
fn from(di: DiversifierIndex) -> Self
Converts to this type from the input type.
source§impl From<u32> for DiversifierIndex
impl From<u32> for DiversifierIndex
source§impl From<u64> for DiversifierIndex
impl From<u64> for DiversifierIndex
source§impl From<usize> for DiversifierIndex
impl From<usize> for DiversifierIndex
source§impl PartialEq for DiversifierIndex
impl PartialEq for DiversifierIndex
source§fn eq(&self, other: &DiversifierIndex) -> bool
fn eq(&self, other: &DiversifierIndex) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl TryFrom<DiversifierIndex> for u32
impl TryFrom<DiversifierIndex> for u32
§type Error = TryFromIntError
type Error = TryFromIntError
The type returned in the event of a conversion error.
source§impl TryFrom<DiversifierIndex> for u64
impl TryFrom<DiversifierIndex> for u64
§type Error = TryFromIntError
type Error = TryFromIntError
The type returned in the event of a conversion error.
source§impl TryFrom<DiversifierIndex> for usize
impl TryFrom<DiversifierIndex> for usize
§type Error = TryFromIntError
type Error = TryFromIntError
The type returned in the event of a conversion error.
source§impl TryFrom<u128> for DiversifierIndex
impl TryFrom<u128> for DiversifierIndex
impl Copy for DiversifierIndex
impl Eq for DiversifierIndex
impl StructuralPartialEq for DiversifierIndex
Auto Trait Implementations§
impl Freeze for DiversifierIndex
impl RefUnwindSafe for DiversifierIndex
impl Send for DiversifierIndex
impl Sync for DiversifierIndex
impl Unpin for DiversifierIndex
impl UnwindSafe for DiversifierIndex
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