pub type ZomeEntryTypesKey = ZomeTypesKey<EntryDefIndex>;
Expand description

A key to the ScopedZomeTypes<EntryDefIndex> container.

Aliased Type§

struct ZomeEntryTypesKey {
    pub zome_index: ZomeDependencyIndex,
    pub type_index: EntryDefIndex,
}

Fields§

§zome_index: ZomeDependencyIndex

The index into the ZomeIndex vec.

§type_index: EntryDefIndex

The index into the types vec.

Trait Implementations§

§

impl<T> Clone for ZomeTypesKey<T>where T: Clone + U8Index + Copy,

§

fn clone(&self) -> ZomeTypesKey<T>

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl<T> Debug for ZomeTypesKey<T>where T: Debug + U8Index + Copy,

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl<'de, T> Deserialize<'de> for ZomeTypesKey<T>where T: U8Index + Copy + Deserialize<'de>,

§

fn deserialize<__D>( __deserializer: __D ) -> Result<ZomeTypesKey<T>, <__D as Deserializer<'de>>::Error>where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
§

impl From<()> for ZomeTypesKey<EntryDefIndex>

§

fn from(_: ()) -> ZomeTypesKey<EntryDefIndex>

Converts to this type from the input type.
§

impl From<EntryDefIndex> for ZomeTypesKey<EntryDefIndex>

§

fn from(type_index: EntryDefIndex) -> ZomeTypesKey<EntryDefIndex>

Converts to this type from the input type.
source§

impl From<InlineEntryTypes> for ZomeEntryTypesKey

source§

fn from(t: InlineEntryTypes) -> Self

Converts to this type from the input type.
§

impl<T> Hash for ZomeTypesKey<T>where T: Hash + U8Index + Copy,

§

fn hash<__H>(&self, state: &mut __H)where __H: Hasher,

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
§

impl<T> Ord for ZomeTypesKey<T>where T: Ord + U8Index + Copy,

§

fn cmp(&self, other: &ZomeTypesKey<T>) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · source§

fn max(self, other: Self) -> Selfwhere Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · source§

fn min(self, other: Self) -> Selfwhere Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · source§

fn clamp(self, min: Self, max: Self) -> Selfwhere Self: Sized + PartialOrd<Self>,

Restrict a value to a certain interval. Read more
§

impl<T> PartialEq<ZomeTypesKey<T>> for ZomeTypesKey<T>where T: PartialEq<T> + U8Index + Copy,

§

fn eq(&self, other: &ZomeTypesKey<T>) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
§

impl<T> PartialOrd<ZomeTypesKey<T>> for ZomeTypesKey<T>where T: PartialOrd<T> + U8Index + Copy,

§

fn partial_cmp(&self, other: &ZomeTypesKey<T>) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more
§

impl<T> Serialize for ZomeTypesKey<T>where T: U8Index + Copy + Serialize,

§

fn serialize<__S>( &self, __serializer: __S ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where __S: Serializer,

Serialize this value into the given Serde serializer. Read more
§

impl<T> Copy for ZomeTypesKey<T>where T: Copy + U8Index,

§

impl<T> Eq for ZomeTypesKey<T>where T: Eq + U8Index + Copy,

§

impl<T> StructuralEq for ZomeTypesKey<T>where T: U8Index + Copy,

§

impl<T> StructuralPartialEq for ZomeTypesKey<T>where T: U8Index + Copy,