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
sourceimpl EmscriptenData
impl EmscriptenData
pub fn new(
globals: EmscriptenGlobalsData,
mapped_dirs: HashMap<String, PathBuf>
) -> EmscriptenData
Trait Implementations
sourceimpl Clone for EmscriptenData
impl Clone for EmscriptenData
sourcefn clone(&self) -> EmscriptenData
fn clone(&self) -> EmscriptenData
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Default for EmscriptenData
impl Default for EmscriptenData
sourcefn 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.
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
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
impl<T> Upcastable for Twhere
T: 'static + Any + Send + Sync,
impl<T> Upcastable for Twhere
T: 'static + Any + Send + Sync,
fn upcast_any_ref(&self) -> &(dyn Any + 'static)
fn upcast_any_ref(&self) -> &(dyn Any + 'static)
upcast ref
fn upcast_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn upcast_any_mut(&mut self) -> &mut (dyn Any + 'static)
upcast mut ref