Enum holochain_wasmer_host::prelude::wasmparser::MemoryType [−]
pub enum MemoryType { M32 { limits: ResizableLimits, shared: bool, }, M64 { limits: ResizableLimits64, shared: bool, }, }
Variants
Show fields
Fields of M32
limits: ResizableLimits
Show fields
Fields of M64
limits: ResizableLimits64
Implementations
impl MemoryType
impl MemoryType
pub fn index_type(&self) -> Type
Trait Implementations
impl Clone for MemoryType
impl Clone for MemoryType
pub fn clone(&self) -> MemoryType
pub fn clone(&self) -> MemoryType
Returns a copy of the value. Read more
Performs copy-assignment from source
. Read more
impl Debug for MemoryType
impl Debug for MemoryType
impl Hash for MemoryType
impl Hash for MemoryType
impl PartialEq<MemoryType> for MemoryType
impl PartialEq<MemoryType> for MemoryType
pub fn eq(&self, other: &MemoryType) -> bool
pub fn eq(&self, other: &MemoryType) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
pub fn ne(&self, other: &MemoryType) -> bool
pub fn ne(&self, other: &MemoryType) -> bool
This method tests for !=
.
impl Copy for MemoryType
impl Eq for MemoryType
impl StructuralEq for MemoryType
impl StructuralPartialEq for MemoryType
Auto Trait Implementations
impl RefUnwindSafe for MemoryType
impl Send for MemoryType
impl Sync for MemoryType
impl Unpin for MemoryType
impl UnwindSafe for MemoryType
Blanket Implementations
type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
pub fn pointer_metadata(
&<T as ArchivePointee>::ArchivedMetadata
) -> <T as Pointee>::Metadata
pub fn pointer_metadata(
&<T as ArchivePointee>::ArchivedMetadata
) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more