[−][src]Struct wasmer_clif_fork_wasm::VisibleTranslationState
VisibleTranslationState wraps a TranslationState with an interface appropriate for users
outside this cranelift-wasm
.
VisibleTranslationState is currently very minimal (only exposing reachability information), but is anticipated to grow in the future, with functions to inspect or modify the wasm operand stack for example.
Methods
impl<'a> VisibleTranslationState<'a>
[src]
pub fn new(state: &'a TranslationState) -> Self
[src]
Build a VisibleTranslationState from an existing TranslationState
pub fn reachable(&self) -> bool
[src]
True if the current translation state expresses reachable code, false if it is unreachable
Auto Trait Implementations
impl<'a> Unpin for VisibleTranslationState<'a>
impl<'a> Send for VisibleTranslationState<'a>
impl<'a> Sync for VisibleTranslationState<'a>
impl<'a> UnwindSafe for VisibleTranslationState<'a>
impl<'a> RefUnwindSafe for VisibleTranslationState<'a>
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,