pub struct MemoryIndex(/* private fields */);Expand description
Typed Index
Implementations§
Source§impl MemoryIndex
impl MemoryIndex
Sourcepub fn local_or_import(self, info: &ModuleInfo) -> LocalOrImport<MemoryIndex>
pub fn local_or_import(self, info: &ModuleInfo) -> LocalOrImport<MemoryIndex>
Converts self into LocalOrImport.
Trait Implementations§
Source§impl Clone for MemoryIndex
impl Clone for MemoryIndex
Source§fn clone(&self) -> MemoryIndex
fn clone(&self) -> MemoryIndex
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 MemoryIndex
impl Debug for MemoryIndex
Source§impl<'de> Deserialize<'de> for MemoryIndex
impl<'de> Deserialize<'de> for MemoryIndex
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<MemoryIndex, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<MemoryIndex, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<Converter<MemoryIndex>> for MemoryIndex
impl From<Converter<MemoryIndex>> for MemoryIndex
Source§fn from(clif_index: Converter<MemoryIndex>) -> MemoryIndex
fn from(clif_index: Converter<MemoryIndex>) -> MemoryIndex
Converts to this type from the input type.
Source§impl Hash for MemoryIndex
impl Hash for MemoryIndex
Source§impl LocalImport for MemoryIndex
impl LocalImport for MemoryIndex
Source§type Local = LocalMemoryIndex
type Local = LocalMemoryIndex
Local type.
Source§type Import = ImportedMemoryIndex
type Import = ImportedMemoryIndex
Import type.
Source§impl Ord for MemoryIndex
impl Ord for MemoryIndex
Source§fn cmp(&self, other: &MemoryIndex) -> Ordering
fn cmp(&self, other: &MemoryIndex) -> 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 MemoryIndex
impl PartialEq for MemoryIndex
Source§impl PartialOrd for MemoryIndex
impl PartialOrd for MemoryIndex
Source§impl Serialize for MemoryIndex
impl Serialize for MemoryIndex
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
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 Copy for MemoryIndex
impl Eq for MemoryIndex
impl StructuralPartialEq for MemoryIndex
impl TypedIndex for MemoryIndex
Auto Trait Implementations§
impl Freeze for MemoryIndex
impl RefUnwindSafe for MemoryIndex
impl Send for MemoryIndex
impl Sync for MemoryIndex
impl Unpin for MemoryIndex
impl UnwindSafe for MemoryIndex
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> 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.