pub struct P2PKHAddressIndex(/* private fields */);Methods from Deref<Target = TypeIndex>§
pub fn increment(&mut self)
pub fn copy_then_increment(&mut self) -> Self
Trait Implementations§
Source§impl Add<usize> for P2PKHAddressIndex
impl Add<usize> for P2PKHAddressIndex
Source§impl CheckedSub for P2PKHAddressIndex
impl CheckedSub for P2PKHAddressIndex
fn checked_sub(self, rhs: Self) -> Option<Self>
Source§impl Clone for P2PKHAddressIndex
impl Clone for P2PKHAddressIndex
Source§fn clone(&self) -> P2PKHAddressIndex
fn clone(&self) -> P2PKHAddressIndex
Returns a duplicate 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 P2PKHAddressIndex
impl Debug for P2PKHAddressIndex
Source§impl Default for P2PKHAddressIndex
impl Default for P2PKHAddressIndex
Source§fn default() -> P2PKHAddressIndex
fn default() -> P2PKHAddressIndex
Returns the “default value” for a type. Read more
Source§impl Deref for P2PKHAddressIndex
impl Deref for P2PKHAddressIndex
Source§impl DerefMut for P2PKHAddressIndex
impl DerefMut for P2PKHAddressIndex
Source§impl From<&P2PKHAddressIndex> for ByteView
impl From<&P2PKHAddressIndex> for ByteView
Source§fn from(value: &P2PKHAddressIndex) -> Self
fn from(value: &P2PKHAddressIndex) -> Self
Converts to this type from the input type.
Source§impl From<ByteView> for P2PKHAddressIndex
impl From<ByteView> for P2PKHAddressIndex
Source§impl From<P2PKHAddressIndex> for ByteView
impl From<P2PKHAddressIndex> for ByteView
Source§fn from(value: P2PKHAddressIndex) -> Self
fn from(value: P2PKHAddressIndex) -> Self
Converts to this type from the input type.
Source§impl From<P2PKHAddressIndex> for StoredU32
impl From<P2PKHAddressIndex> for StoredU32
Source§fn from(value: P2PKHAddressIndex) -> Self
fn from(value: P2PKHAddressIndex) -> Self
Converts to this type from the input type.
Source§impl From<P2PKHAddressIndex> for StoredUsize
impl From<P2PKHAddressIndex> for StoredUsize
Source§fn from(value: P2PKHAddressIndex) -> Self
fn from(value: P2PKHAddressIndex) -> Self
Converts to this type from the input type.
Source§impl From<P2PKHAddressIndex> for TypeIndex
impl From<P2PKHAddressIndex> for TypeIndex
Source§fn from(value: P2PKHAddressIndex) -> Self
fn from(value: P2PKHAddressIndex) -> Self
Converts to this type from the input type.
Source§impl From<P2PKHAddressIndex> for u32
impl From<P2PKHAddressIndex> for u32
Source§fn from(value: P2PKHAddressIndex) -> Self
fn from(value: P2PKHAddressIndex) -> Self
Converts to this type from the input type.
Source§impl From<P2PKHAddressIndex> for usize
impl From<P2PKHAddressIndex> for usize
Source§fn from(value: P2PKHAddressIndex) -> Self
fn from(value: P2PKHAddressIndex) -> Self
Converts to this type from the input type.
Source§impl From<TypeIndex> for P2PKHAddressIndex
impl From<TypeIndex> for P2PKHAddressIndex
Source§impl From<u32> for P2PKHAddressIndex
impl From<u32> for P2PKHAddressIndex
Source§impl From<usize> for P2PKHAddressIndex
impl From<usize> for P2PKHAddressIndex
Source§impl FromBytes for P2PKHAddressIndex
impl FromBytes for P2PKHAddressIndex
Source§fn ref_from_bytes(
source: &[u8],
) -> Result<&Self, ConvertError<AlignmentError<&[u8], Self>, SizeError<&[u8], Self>, Infallible>>where
Self: KnownLayout + Immutable,
fn ref_from_bytes(
source: &[u8],
) -> Result<&Self, ConvertError<AlignmentError<&[u8], Self>, SizeError<&[u8], Self>, Infallible>>where
Self: KnownLayout + Immutable,
Source§fn ref_from_prefix(
source: &[u8],
) -> Result<(&Self, &[u8]), ConvertError<AlignmentError<&[u8], Self>, SizeError<&[u8], Self>, Infallible>>where
Self: KnownLayout + Immutable,
fn ref_from_prefix(
source: &[u8],
) -> Result<(&Self, &[u8]), ConvertError<AlignmentError<&[u8], Self>, SizeError<&[u8], Self>, Infallible>>where
Self: KnownLayout + Immutable,
Source§fn ref_from_suffix(
source: &[u8],
) -> Result<(&[u8], &Self), ConvertError<AlignmentError<&[u8], Self>, SizeError<&[u8], Self>, Infallible>>where
Self: Immutable + KnownLayout,
fn ref_from_suffix(
source: &[u8],
) -> Result<(&[u8], &Self), ConvertError<AlignmentError<&[u8], Self>, SizeError<&[u8], Self>, Infallible>>where
Self: Immutable + KnownLayout,
Interprets the suffix of the given bytes as a
&Self. Read moreSource§fn mut_from_bytes(
source: &mut [u8],
) -> Result<&mut Self, ConvertError<AlignmentError<&mut [u8], Self>, SizeError<&mut [u8], Self>, Infallible>>where
Self: IntoBytes + KnownLayout,
fn mut_from_bytes(
source: &mut [u8],
) -> Result<&mut Self, ConvertError<AlignmentError<&mut [u8], Self>, SizeError<&mut [u8], Self>, Infallible>>where
Self: IntoBytes + KnownLayout,
Source§fn mut_from_prefix(
source: &mut [u8],
) -> Result<(&mut Self, &mut [u8]), ConvertError<AlignmentError<&mut [u8], Self>, SizeError<&mut [u8], Self>, Infallible>>where
Self: IntoBytes + KnownLayout,
fn mut_from_prefix(
source: &mut [u8],
) -> Result<(&mut Self, &mut [u8]), ConvertError<AlignmentError<&mut [u8], Self>, SizeError<&mut [u8], Self>, Infallible>>where
Self: IntoBytes + KnownLayout,
Source§fn mut_from_suffix(
source: &mut [u8],
) -> Result<(&mut [u8], &mut Self), ConvertError<AlignmentError<&mut [u8], Self>, SizeError<&mut [u8], Self>, Infallible>>where
Self: IntoBytes + KnownLayout,
fn mut_from_suffix(
source: &mut [u8],
) -> Result<(&mut [u8], &mut Self), ConvertError<AlignmentError<&mut [u8], Self>, SizeError<&mut [u8], Self>, Infallible>>where
Self: IntoBytes + KnownLayout,
Source§impl FromZeros for P2PKHAddressIndex
impl FromZeros for P2PKHAddressIndex
Source§impl IntoBytes for P2PKHAddressIndex
impl IntoBytes for P2PKHAddressIndex
Source§fn as_mut_bytes(&mut self) -> &mut [u8] ⓘwhere
Self: FromBytes,
fn as_mut_bytes(&mut self) -> &mut [u8] ⓘwhere
Self: FromBytes,
Gets the bytes of this value mutably. Read more
Source§fn write_to(&self, dst: &mut [u8]) -> Result<(), SizeError<&Self, &mut [u8]>>where
Self: Immutable,
fn write_to(&self, dst: &mut [u8]) -> Result<(), SizeError<&Self, &mut [u8]>>where
Self: Immutable,
Source§impl KnownLayout for P2PKHAddressIndexwhere
Self: Sized,
impl KnownLayout for P2PKHAddressIndexwhere
Self: Sized,
Source§type PointerMetadata = ()
type PointerMetadata = ()
The type of metadata stored in a pointer to
Self. Read moreSource§impl Ord for P2PKHAddressIndex
impl Ord for P2PKHAddressIndex
Source§fn cmp(&self, other: &P2PKHAddressIndex) -> Ordering
fn cmp(&self, other: &P2PKHAddressIndex) -> 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 for P2PKHAddressIndex
impl PartialEq for P2PKHAddressIndex
Source§impl PartialOrd for P2PKHAddressIndex
impl PartialOrd for P2PKHAddressIndex
Source§impl Printable for P2PKHAddressIndex
impl Printable for P2PKHAddressIndex
Source§impl Serialize for P2PKHAddressIndex
impl Serialize for P2PKHAddressIndex
Source§impl TryFromBytes for P2PKHAddressIndexwhere
TypeIndex: TryFromBytes,
impl TryFromBytes for P2PKHAddressIndexwhere
TypeIndex: TryFromBytes,
Source§fn try_ref_from_bytes(
source: &[u8],
) -> Result<&Self, ConvertError<AlignmentError<&[u8], Self>, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: KnownLayout + Immutable,
fn try_ref_from_bytes(
source: &[u8],
) -> Result<&Self, ConvertError<AlignmentError<&[u8], Self>, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: KnownLayout + Immutable,
Source§fn try_ref_from_prefix(
source: &[u8],
) -> Result<(&Self, &[u8]), ConvertError<AlignmentError<&[u8], Self>, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: KnownLayout + Immutable,
fn try_ref_from_prefix(
source: &[u8],
) -> Result<(&Self, &[u8]), ConvertError<AlignmentError<&[u8], Self>, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: KnownLayout + Immutable,
Source§fn try_ref_from_suffix(
source: &[u8],
) -> Result<(&[u8], &Self), ConvertError<AlignmentError<&[u8], Self>, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: KnownLayout + Immutable,
fn try_ref_from_suffix(
source: &[u8],
) -> Result<(&[u8], &Self), ConvertError<AlignmentError<&[u8], Self>, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: KnownLayout + Immutable,
Source§fn try_mut_from_bytes(
bytes: &mut [u8],
) -> Result<&mut Self, ConvertError<AlignmentError<&mut [u8], Self>, SizeError<&mut [u8], Self>, ValidityError<&mut [u8], Self>>>where
Self: KnownLayout + IntoBytes,
fn try_mut_from_bytes(
bytes: &mut [u8],
) -> Result<&mut Self, ConvertError<AlignmentError<&mut [u8], Self>, SizeError<&mut [u8], Self>, ValidityError<&mut [u8], Self>>>where
Self: KnownLayout + IntoBytes,
Source§fn try_mut_from_prefix(
source: &mut [u8],
) -> Result<(&mut Self, &mut [u8]), ConvertError<AlignmentError<&mut [u8], Self>, SizeError<&mut [u8], Self>, ValidityError<&mut [u8], Self>>>where
Self: KnownLayout + IntoBytes,
fn try_mut_from_prefix(
source: &mut [u8],
) -> Result<(&mut Self, &mut [u8]), ConvertError<AlignmentError<&mut [u8], Self>, SizeError<&mut [u8], Self>, ValidityError<&mut [u8], Self>>>where
Self: KnownLayout + IntoBytes,
Source§fn try_mut_from_suffix(
source: &mut [u8],
) -> Result<(&mut [u8], &mut Self), ConvertError<AlignmentError<&mut [u8], Self>, SizeError<&mut [u8], Self>, ValidityError<&mut [u8], Self>>>where
Self: KnownLayout + IntoBytes,
fn try_mut_from_suffix(
source: &mut [u8],
) -> Result<(&mut [u8], &mut Self), ConvertError<AlignmentError<&mut [u8], Self>, SizeError<&mut [u8], Self>, ValidityError<&mut [u8], Self>>>where
Self: KnownLayout + IntoBytes,
Source§fn try_read_from_bytes(
source: &[u8],
) -> Result<Self, ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
fn try_read_from_bytes(
source: &[u8],
) -> Result<Self, ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
Source§fn try_read_from_prefix(
source: &[u8],
) -> Result<(Self, &[u8]), ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
fn try_read_from_prefix(
source: &[u8],
) -> Result<(Self, &[u8]), ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
Source§fn try_read_from_suffix(
source: &[u8],
) -> Result<(&[u8], Self), ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
fn try_read_from_suffix(
source: &[u8],
) -> Result<(&[u8], Self), ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
impl Copy for P2PKHAddressIndex
impl Eq for P2PKHAddressIndex
impl Immutable for P2PKHAddressIndex
impl StructuralPartialEq for P2PKHAddressIndex
Auto Trait Implementations§
impl Freeze for P2PKHAddressIndex
impl RefUnwindSafe for P2PKHAddressIndex
impl Send for P2PKHAddressIndex
impl Sync for P2PKHAddressIndex
impl Unpin for P2PKHAddressIndex
impl UnwindSafe for P2PKHAddressIndex
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.