pub struct EmptyAddrIndex(/* private fields */);Methods from Deref<Target = TypeIndex>§
pub const COINBASE: Self
pub fn to_be_bytes(&self) -> [u8; 4]
pub fn to_ne_bytes(&self) -> [u8; 4]
Trait Implementations§
Source§impl Add<usize> for EmptyAddrIndex
impl Add<usize> for EmptyAddrIndex
Source§impl Bytes for EmptyAddrIndex
impl Bytes for EmptyAddrIndex
Source§type Array = <TypeIndex as Bytes>::Array
type Array = <TypeIndex as Bytes>::Array
The byte array type returned by
to_bytes.
For fixed-size types, this is [u8; N] where N is the size of the type.Source§const IS_NATIVE_LAYOUT: bool = false
const IS_NATIVE_LAYOUT: bool = false
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 EmptyAddrIndex
impl CheckedSub for EmptyAddrIndex
fn checked_sub(self, rhs: Self) -> Option<Self>
Source§impl Clone for EmptyAddrIndex
impl Clone for EmptyAddrIndex
Source§fn clone(&self) -> EmptyAddrIndex
fn clone(&self) -> EmptyAddrIndex
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 EmptyAddrIndex
impl Debug for EmptyAddrIndex
Source§impl Default for EmptyAddrIndex
impl Default for EmptyAddrIndex
Source§fn default() -> EmptyAddrIndex
fn default() -> EmptyAddrIndex
Returns the “default value” for a type. Read more
Source§impl Deref for EmptyAddrIndex
impl Deref for EmptyAddrIndex
Source§impl<'de> Deserialize<'de> for EmptyAddrIndex
impl<'de> Deserialize<'de> for EmptyAddrIndex
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 EmptyAddrIndex
impl Display for EmptyAddrIndex
Source§impl Formattable for EmptyAddrIndex
impl Formattable for EmptyAddrIndex
Source§impl From<EmptyAddrIndex> for AnyAddrIndex
impl From<EmptyAddrIndex> for AnyAddrIndex
Source§fn from(value: EmptyAddrIndex) -> Self
fn from(value: EmptyAddrIndex) -> Self
Converts to this type from the input type.
Source§impl From<EmptyAddrIndex> for usize
impl From<EmptyAddrIndex> for usize
Source§fn from(value: EmptyAddrIndex) -> Self
fn from(value: EmptyAddrIndex) -> Self
Converts to this type from the input type.
Source§impl From<TypeIndex> for EmptyAddrIndex
impl From<TypeIndex> for EmptyAddrIndex
Source§impl From<u32> for EmptyAddrIndex
impl From<u32> for EmptyAddrIndex
Source§impl From<usize> for EmptyAddrIndex
impl From<usize> for EmptyAddrIndex
Source§impl JsonSchema for EmptyAddrIndex
impl JsonSchema for EmptyAddrIndex
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 EmptyAddrIndex
impl Ord for EmptyAddrIndex
Source§fn cmp(&self, other: &EmptyAddrIndex) -> Ordering
fn cmp(&self, other: &EmptyAddrIndex) -> 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 EmptyAddrIndex
impl PartialEq for EmptyAddrIndex
Source§impl PartialOrd for EmptyAddrIndex
impl PartialOrd for EmptyAddrIndex
Source§impl Pco for EmptyAddrIndex
impl Pco for EmptyAddrIndex
type NumberType = <TypeIndex as Pco>::NumberType
Source§impl PrintableIndex for EmptyAddrIndex
impl PrintableIndex for EmptyAddrIndex
Source§impl Serialize for EmptyAddrIndex
impl Serialize for EmptyAddrIndex
impl Copy for EmptyAddrIndex
impl Eq for EmptyAddrIndex
impl StructuralPartialEq for EmptyAddrIndex
impl TransparentPco<<TypeIndex as Pco>::NumberType> for EmptyAddrIndex
Auto Trait Implementations§
impl Freeze for EmptyAddrIndex
impl RefUnwindSafe for EmptyAddrIndex
impl Send for EmptyAddrIndex
impl Sync for EmptyAddrIndex
impl Unpin for EmptyAddrIndex
impl UnsafeUnpin for EmptyAddrIndex
impl UnwindSafe for EmptyAddrIndex
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.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