pub struct P2SHAddrIndex(/* private fields */);Methods from Deref<Target = TypeIndex>§
pub const COINBASE: Self
pub fn increment(&mut self)
pub fn copy_then_increment(&mut self) -> Self
pub fn to_be_bytes(&self) -> [u8; 4]
pub fn to_ne_bytes(&self) -> [u8; 4]
Trait Implementations§
Source§impl Add<usize> for P2SHAddrIndex
impl Add<usize> for P2SHAddrIndex
Source§impl Bytes for P2SHAddrIndex
impl Bytes for P2SHAddrIndex
Source§const IS_NATIVE_LAYOUT: bool
const IS_NATIVE_LAYOUT: bool
Whether the byte representation from
to_bytes is identical to the
in-memory representation of Self. When true, bulk operations can use
memcpy instead of per-element deserialization. Read moreSource§impl CheckedSub for P2SHAddrIndex
impl CheckedSub for P2SHAddrIndex
fn checked_sub(self, rhs: Self) -> Option<Self>
Source§impl Clone for P2SHAddrIndex
impl Clone for P2SHAddrIndex
Source§fn clone(&self) -> P2SHAddrIndex
fn clone(&self) -> P2SHAddrIndex
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for P2SHAddrIndex
Source§impl Debug for P2SHAddrIndex
impl Debug for P2SHAddrIndex
Source§impl Default for P2SHAddrIndex
impl Default for P2SHAddrIndex
Source§fn default() -> P2SHAddrIndex
fn default() -> P2SHAddrIndex
Returns the “default value” for a type. Read more
Source§impl Deref for P2SHAddrIndex
impl Deref for P2SHAddrIndex
Source§impl DerefMut for P2SHAddrIndex
impl DerefMut for P2SHAddrIndex
Source§impl<'de> Deserialize<'de> for P2SHAddrIndex
impl<'de> Deserialize<'de> for P2SHAddrIndex
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for P2SHAddrIndex
impl Display for P2SHAddrIndex
impl Eq for P2SHAddrIndex
Source§impl Formattable for P2SHAddrIndex
impl Formattable for P2SHAddrIndex
Source§impl From<P2SHAddrIndex> for TypeIndex
impl From<P2SHAddrIndex> for TypeIndex
Source§fn from(value: P2SHAddrIndex) -> Self
fn from(value: P2SHAddrIndex) -> Self
Converts to this type from the input type.
Source§impl From<P2SHAddrIndex> for u32
impl From<P2SHAddrIndex> for u32
Source§fn from(value: P2SHAddrIndex) -> Self
fn from(value: P2SHAddrIndex) -> Self
Converts to this type from the input type.
Source§impl From<P2SHAddrIndex> for u64
impl From<P2SHAddrIndex> for u64
Source§fn from(value: P2SHAddrIndex) -> Self
fn from(value: P2SHAddrIndex) -> Self
Converts to this type from the input type.
Source§impl From<P2SHAddrIndex> for usize
impl From<P2SHAddrIndex> for usize
Source§fn from(value: P2SHAddrIndex) -> Self
fn from(value: P2SHAddrIndex) -> Self
Converts to this type from the input type.
Source§impl From<P2SHAddrIndex> for StoredU16
impl From<P2SHAddrIndex> for StoredU16
Source§fn from(value: P2SHAddrIndex) -> Self
fn from(value: P2SHAddrIndex) -> Self
Converts to this type from the input type.
Source§impl From<P2SHAddrIndex> for StoredU32
impl From<P2SHAddrIndex> for StoredU32
Source§fn from(value: P2SHAddrIndex) -> Self
fn from(value: P2SHAddrIndex) -> Self
Converts to this type from the input type.
Source§impl From<P2SHAddrIndex> for StoredU64
impl From<P2SHAddrIndex> for StoredU64
Source§fn from(value: P2SHAddrIndex) -> Self
fn from(value: P2SHAddrIndex) -> Self
Converts to this type from the input type.
Source§impl From<TypeIndex> for P2SHAddrIndex
impl From<TypeIndex> for P2SHAddrIndex
Source§impl From<u32> for P2SHAddrIndex
impl From<u32> for P2SHAddrIndex
Source§impl From<u64> for P2SHAddrIndex
impl From<u64> for P2SHAddrIndex
Source§impl From<usize> for P2SHAddrIndex
impl From<usize> for P2SHAddrIndex
Source§impl JsonSchema for P2SHAddrIndex
impl JsonSchema for P2SHAddrIndex
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl Ord for P2SHAddrIndex
impl Ord for P2SHAddrIndex
Source§fn cmp(&self, other: &P2SHAddrIndex) -> Ordering
fn cmp(&self, other: &P2SHAddrIndex) -> Ordering
1.21.0 (const: unstable) · 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 P2SHAddrIndex
impl PartialEq for P2SHAddrIndex
Source§impl PartialOrd for P2SHAddrIndex
impl PartialOrd for P2SHAddrIndex
Source§impl Pco for P2SHAddrIndex
impl Pco for P2SHAddrIndex
type NumberType = <TypeIndex as Pco>::NumberType
Source§impl PrintableIndex for P2SHAddrIndex
impl PrintableIndex for P2SHAddrIndex
Source§impl Serialize for P2SHAddrIndex
impl Serialize for P2SHAddrIndex
impl StructuralPartialEq for P2SHAddrIndex
impl TransparentPco<<TypeIndex as Pco>::NumberType> for P2SHAddrIndex
Source§impl VecIndex for P2SHAddrIndex
impl VecIndex for P2SHAddrIndex
Auto Trait Implementations§
impl Freeze for P2SHAddrIndex
impl RefUnwindSafe for P2SHAddrIndex
impl Send for P2SHAddrIndex
impl Sync for P2SHAddrIndex
impl Unpin for P2SHAddrIndex
impl UnsafeUnpin for P2SHAddrIndex
impl UnwindSafe for P2SHAddrIndex
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
impl<T> BytesVecValue for T
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.Source§impl<T> FromInnerSlice<<T as Pco>::NumberType> for Twhere
T: PcoVecValue,
impl<T> FromInnerSlice<<T as Pco>::NumberType> for Twhere
T: PcoVecValue,
const _SIZE_CHECK: ()
const _ALIGN_CHECK: ()
fn from_inner_slice(vec: Vec<<T as Pco>::NumberType>) -> Vec<T>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more