pub struct EmptyOutputIndex(/* 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 EmptyOutputIndex
impl Add<usize> for EmptyOutputIndex
Source§impl Bytes for EmptyOutputIndex
impl Bytes for EmptyOutputIndex
Source§impl CheckedSub for EmptyOutputIndex
impl CheckedSub for EmptyOutputIndex
fn checked_sub(self, rhs: Self) -> Option<Self>
Source§impl Clone for EmptyOutputIndex
impl Clone for EmptyOutputIndex
Source§fn clone(&self) -> EmptyOutputIndex
fn clone(&self) -> EmptyOutputIndex
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 EmptyOutputIndex
impl Debug for EmptyOutputIndex
Source§impl Default for EmptyOutputIndex
impl Default for EmptyOutputIndex
Source§fn default() -> EmptyOutputIndex
fn default() -> EmptyOutputIndex
Returns the “default value” for a type. Read more
Source§impl Deref for EmptyOutputIndex
impl Deref for EmptyOutputIndex
Source§impl DerefMut for EmptyOutputIndex
impl DerefMut for EmptyOutputIndex
Source§impl<'de> Deserialize<'de> for EmptyOutputIndex
impl<'de> Deserialize<'de> for EmptyOutputIndex
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 EmptyOutputIndex
impl Display for EmptyOutputIndex
Source§impl Formattable for EmptyOutputIndex
impl Formattable for EmptyOutputIndex
Source§impl From<EmptyOutputIndex> for StoredU16
impl From<EmptyOutputIndex> for StoredU16
Source§fn from(value: EmptyOutputIndex) -> Self
fn from(value: EmptyOutputIndex) -> Self
Converts to this type from the input type.
Source§impl From<EmptyOutputIndex> for StoredU32
impl From<EmptyOutputIndex> for StoredU32
Source§fn from(value: EmptyOutputIndex) -> Self
fn from(value: EmptyOutputIndex) -> Self
Converts to this type from the input type.
Source§impl From<EmptyOutputIndex> for StoredU64
impl From<EmptyOutputIndex> for StoredU64
Source§fn from(value: EmptyOutputIndex) -> Self
fn from(value: EmptyOutputIndex) -> Self
Converts to this type from the input type.
Source§impl From<EmptyOutputIndex> for u64
impl From<EmptyOutputIndex> for u64
Source§fn from(value: EmptyOutputIndex) -> Self
fn from(value: EmptyOutputIndex) -> Self
Converts to this type from the input type.
Source§impl From<EmptyOutputIndex> for usize
impl From<EmptyOutputIndex> for usize
Source§fn from(value: EmptyOutputIndex) -> Self
fn from(value: EmptyOutputIndex) -> Self
Converts to this type from the input type.
Source§impl From<TypeIndex> for EmptyOutputIndex
impl From<TypeIndex> for EmptyOutputIndex
Source§impl From<usize> for EmptyOutputIndex
impl From<usize> for EmptyOutputIndex
Source§impl JsonSchema for EmptyOutputIndex
impl JsonSchema for EmptyOutputIndex
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 EmptyOutputIndex
impl Ord for EmptyOutputIndex
Source§fn cmp(&self, other: &EmptyOutputIndex) -> Ordering
fn cmp(&self, other: &EmptyOutputIndex) -> 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 EmptyOutputIndex
impl PartialEq for EmptyOutputIndex
Source§impl PartialOrd for EmptyOutputIndex
impl PartialOrd for EmptyOutputIndex
Source§impl Pco for EmptyOutputIndex
impl Pco for EmptyOutputIndex
type NumberType = <TypeIndex as Pco>::NumberType
Source§impl PrintableIndex for EmptyOutputIndex
impl PrintableIndex for EmptyOutputIndex
Source§impl Serialize for EmptyOutputIndex
impl Serialize for EmptyOutputIndex
impl Copy for EmptyOutputIndex
impl Eq for EmptyOutputIndex
impl StructuralPartialEq for EmptyOutputIndex
impl TransparentPco<<TypeIndex as Pco>::NumberType> for EmptyOutputIndex
Auto Trait Implementations§
impl Freeze for EmptyOutputIndex
impl RefUnwindSafe for EmptyOutputIndex
impl Send for EmptyOutputIndex
impl Sync for EmptyOutputIndex
impl Unpin for EmptyOutputIndex
impl UnwindSafe for EmptyOutputIndex
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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