pub enum WasmPlaceRepr {
Local(WasmLocal, ValType),
Heap(WasmPointer, ValType),
Struct(Vec<Arc<WasmPlaceRepr>>),
Class(WasmPointer, Vec<Arc<WasmPlaceRepr>>),
Nowhere,
}Expand description
The WASM representation for a Dada place. Dada places can be spread across the WASM local variables and WASM memory. This type tells you which values are stored where.
Variants§
Local(WasmLocal, ValType)
A primitive value stored in a WASM local variable.
Heap(WasmPointer, ValType)
Struct(Vec<Arc<WasmPlaceRepr>>)
Class(WasmPointer, Vec<Arc<WasmPlaceRepr>>)
Nowhere
Trait Implementations§
Auto Trait Implementations§
impl Freeze for WasmPlaceRepr
impl RefUnwindSafe for WasmPlaceRepr
impl Send for WasmPlaceRepr
impl Sync for WasmPlaceRepr
impl Unpin for WasmPlaceRepr
impl UnsafeUnpin for WasmPlaceRepr
impl UnwindSafe for WasmPlaceRepr
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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