pub enum MemoryParameterSize {
Value(u64),
Reference {
index: u8,
},
}Variants§
Value(u64)
The memory buffer have the given size.
Reference
The memory buffer size is given by the parameter in the given index.
Trait Implementations§
Source§impl Clone for MemoryParameterSize
impl Clone for MemoryParameterSize
Source§fn clone(&self) -> MemoryParameterSize
fn clone(&self) -> MemoryParameterSize
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 MemoryParameterSize
impl Debug for MemoryParameterSize
Source§impl PartialEq for MemoryParameterSize
impl PartialEq for MemoryParameterSize
impl StructuralPartialEq for MemoryParameterSize
Auto Trait Implementations§
impl Freeze for MemoryParameterSize
impl RefUnwindSafe for MemoryParameterSize
impl Send for MemoryParameterSize
impl Sync for MemoryParameterSize
impl Unpin for MemoryParameterSize
impl UnwindSafe for MemoryParameterSize
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