pub struct UnitSlot {
pub name: String,
pub slot: Slot,
pub flags: Vec<u32>,
pub cell: Option<(u32, WasmType)>,
pub rebind: Option<Rebind>,
}Expand description
A slot the finished unit wrote: flags are the exported i32 globals, one
per definition form in text order, each 1 once that form ran, cell the
global a value slot holds its value in at run time, rebind the globals
that say which value it holds outside a binding when a binder rebinds it.
Fields§
§name: String§slot: Slot§flags: Vec<u32>§cell: Option<(u32, WasmType)>§rebind: Option<Rebind>Trait Implementations§
impl Eq for UnitSlot
impl StructuralPartialEq for UnitSlot
Auto Trait Implementations§
impl Freeze for UnitSlot
impl RefUnwindSafe for UnitSlot
impl Send for UnitSlot
impl Sync for UnitSlot
impl Unpin for UnitSlot
impl UnsafeUnpin for UnitSlot
impl UnwindSafe for UnitSlot
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<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.