Struct wasmer_emscripten::EmscriptenData
source · pub struct EmscriptenData {
pub globals: EmscriptenGlobalsData,
pub jumps: Arc<Mutex<Vec<[u32; 27]>>>,
pub opened_dirs: HashMap<i32, Box<LibcDirWrapper>>,
pub temp_ret_0: i32,
pub mapped_dirs: HashMap<String, PathBuf>,
}
Fields§
§globals: EmscriptenGlobalsData
§jumps: Arc<Mutex<Vec<[u32; 27]>>>
§opened_dirs: HashMap<i32, Box<LibcDirWrapper>>
§temp_ret_0: i32
§mapped_dirs: HashMap<String, PathBuf>
Implementations§
source§impl EmscriptenData
impl EmscriptenData
pub fn new(
globals: EmscriptenGlobalsData,
mapped_dirs: HashMap<String, PathBuf>
) -> EmscriptenData
Trait Implementations§
source§impl Clone for EmscriptenData
impl Clone for EmscriptenData
source§fn clone(&self) -> EmscriptenData
fn clone(&self) -> EmscriptenData
Returns a copy 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 Default for EmscriptenData
impl Default for EmscriptenData
source§fn default() -> EmscriptenData
fn default() -> EmscriptenData
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for EmscriptenData
impl Send for EmscriptenData
impl Sync for EmscriptenData
impl Unpin for EmscriptenData
impl UnwindSafe for EmscriptenData
Blanket Implementations§
§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
§type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
§fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata
) -> <T as Pointee>::Metadata
fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata
) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
§impl<F, W, T, D> Deserialize<With<T, W>, D> for Fwhere
W: DeserializeWith<F, T, D>,
D: Fallible + ?Sized,
F: ?Sized,
impl<F, W, T, D> Deserialize<With<T, W>, D> for Fwhere
W: DeserializeWith<F, T, D>,
D: Fallible + ?Sized,
F: ?Sized,
§fn deserialize(
&self,
deserializer: &mut D
) -> Result<With<T, W>, <D as Fallible>::Error>
fn deserialize(
&self,
deserializer: &mut D
) -> Result<With<T, W>, <D as Fallible>::Error>
Deserializes using the given deserializer