[−][src]Struct wasmparser::ValidatorResources
The implementation of WasmModuleResources
used by Validator
.
Trait Implementations
impl WasmModuleResources for ValidatorResources
[src]
type FuncType = FuncType
The function type used for validation.
type TableType = TableType
The table type used for validation.
type MemoryType = MemoryType
The memory type used for validation.
type GlobalType = GlobalType
The global type used for validation.
fn table_at(&self, at: u32) -> Option<&Self::TableType>
[src]
fn memory_at(&self, at: u32) -> Option<&Self::MemoryType>
[src]
fn global_at(&self, at: u32) -> Option<&Self::GlobalType>
[src]
fn func_type_at(&self, at: u32) -> Option<&Self::FuncType>
[src]
fn type_of_function(&self, at: u32) -> Option<&Self::FuncType>
[src]
fn element_type_at(&self, at: u32) -> Option<Type>
[src]
fn element_count(&self) -> u32
[src]
fn data_count(&self) -> u32
[src]
fn is_function_referenced(&self, idx: u32) -> bool
[src]
Auto Trait Implementations
impl RefUnwindSafe for ValidatorResources
impl Send for ValidatorResources
impl Sync for ValidatorResources
impl Unpin for ValidatorResources
impl UnwindSafe for ValidatorResources
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
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> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
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> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,