[−][src]Trait wasm_webidl_bindings_text_parser::Actions
Associated Types
type WebidlBindingsSection
type WebidlTypeSubsection
type WebidlType
type WebidlCompoundType: From<Self::WebidlFunction> + From<Self::WebidlDictionary> + From<Self::WebidlEnumeration> + From<Self::WebidlUnion>
type WebidlFunction
type WebidlFunctionKind: From<Self::WebidlFunctionKindMethod> + From<Self::WebidlFunctionKindConstructor>
type WebidlFunctionKindMethod
type WebidlFunctionKindConstructor
type WebidlFunctionParams
type WebidlFunctionResult
type WebidlDictionary
type WebidlDictionaryField
type WebidlDictionaryFieldName
type WebidlEnumeration
type WebidlEnumerationValue
type WebidlUnion
type WebidlFunctionBindingsSubsection
type FunctionBinding: From<Self::ImportBinding> + From<Self::ExportBinding>
type ImportBinding
type ExportBinding
type Bind
type OutgoingBindingMap
type IncomingBindingMap
type OutgoingBindingExpression: From<Self::OutgoingBindingExpressionAs> + From<Self::OutgoingBindingExpressionUtf8Str> + From<Self::OutgoingBindingExpressionUtf8CStr> + From<Self::OutgoingBindingExpressionI32ToEnum> + From<Self::OutgoingBindingExpressionView> + From<Self::OutgoingBindingExpressionCopy> + From<Self::OutgoingBindingExpressionDict> + From<Self::OutgoingBindingExpressionBindExport>
type OutgoingBindingExpressionAs
type OutgoingBindingExpressionUtf8Str
type OutgoingBindingExpressionUtf8CStr
type OutgoingBindingExpressionI32ToEnum
type OutgoingBindingExpressionView
type OutgoingBindingExpressionCopy
type OutgoingBindingExpressionDict
type OutgoingBindingExpressionBindExport
type IncomingBindingExpression: From<Self::IncomingBindingExpressionGet> + From<Self::IncomingBindingExpressionAs> + From<Self::IncomingBindingExpressionAllocUtf8Str> + From<Self::IncomingBindingExpressionAllocCopy> + From<Self::IncomingBindingExpressionEnumToI32> + From<Self::IncomingBindingExpressionField> + From<Self::IncomingBindingExpressionBindImport>
type IncomingBindingExpressionGet
type IncomingBindingExpressionAs
type IncomingBindingExpressionAllocUtf8Str
type IncomingBindingExpressionAllocCopy
type IncomingBindingExpressionEnumToI32
type IncomingBindingExpressionField
type IncomingBindingExpressionBindImport
type WebidlTypeRef: From<Self::WebidlTypeRefNamed> + From<Self::WebidlTypeRefIndexed> + From<Self::WebidlScalarType>
type WebidlTypeRefNamed
type WebidlTypeRefIndexed
type WebidlScalarType
type WasmValType
type WasmFuncTypeRef: From<Self::WasmFuncTypeRefNamed> + From<Self::WasmFuncTypeRefIndexed>
type WasmFuncTypeRefNamed
type WasmFuncTypeRefIndexed
type WasmFuncRef: From<Self::WasmFuncRefNamed> + From<Self::WasmFuncRefIndexed>
type WasmFuncRefNamed
type WasmFuncRefIndexed
type BindingRef: From<Self::BindingRefNamed> + From<Self::BindingRefIndexed>
type BindingRefNamed
type BindingRefIndexed
Required methods
fn webidl_bindings_section(
&mut self,
types: Self::WebidlTypeSubsection,
bindings: Self::WebidlFunctionBindingsSubsection
) -> Self::WebidlBindingsSection
&mut self,
types: Self::WebidlTypeSubsection,
bindings: Self::WebidlFunctionBindingsSubsection
) -> Self::WebidlBindingsSection
fn webidl_type_subsection(
&mut self,
types: Vec<Self::WebidlType>
) -> Self::WebidlTypeSubsection
&mut self,
types: Vec<Self::WebidlType>
) -> Self::WebidlTypeSubsection
fn webidl_type(
&mut self,
name: Option<&str>,
ty: Self::WebidlCompoundType
) -> Self::WebidlType
&mut self,
name: Option<&str>,
ty: Self::WebidlCompoundType
) -> Self::WebidlType
fn webidl_function(
&mut self,
kind: Option<Self::WebidlFunctionKind>,
params: Option<Self::WebidlFunctionParams>,
result: Option<Self::WebidlFunctionResult>
) -> Self::WebidlFunction
&mut self,
kind: Option<Self::WebidlFunctionKind>,
params: Option<Self::WebidlFunctionParams>,
result: Option<Self::WebidlFunctionResult>
) -> Self::WebidlFunction
fn webidl_function_kind_method(
&mut self,
ty: Self::WebidlTypeRef
) -> Self::WebidlFunctionKindMethod
&mut self,
ty: Self::WebidlTypeRef
) -> Self::WebidlFunctionKindMethod
fn webidl_function_kind_constructor_default_new_target(
&mut self
) -> Self::WebidlFunctionKindConstructor
&mut self
) -> Self::WebidlFunctionKindConstructor
fn webidl_function_params(
&mut self,
tys: Vec<Self::WebidlTypeRef>
) -> Self::WebidlFunctionParams
&mut self,
tys: Vec<Self::WebidlTypeRef>
) -> Self::WebidlFunctionParams
fn webidl_function_result(
&mut self,
ty: Self::WebidlTypeRef
) -> Self::WebidlFunctionResult
&mut self,
ty: Self::WebidlTypeRef
) -> Self::WebidlFunctionResult
fn webidl_dictionary(
&mut self,
fields: Vec<Self::WebidlDictionaryField>
) -> Self::WebidlDictionary
&mut self,
fields: Vec<Self::WebidlDictionaryField>
) -> Self::WebidlDictionary
fn webidl_dictionary_field(
&mut self,
name: Self::WebidlDictionaryFieldName,
ty: Self::WebidlTypeRef
) -> Self::WebidlDictionaryField
&mut self,
name: Self::WebidlDictionaryFieldName,
ty: Self::WebidlTypeRef
) -> Self::WebidlDictionaryField
fn webidl_dictionary_field_name(
&mut self,
name: &str
) -> Self::WebidlDictionaryFieldName
&mut self,
name: &str
) -> Self::WebidlDictionaryFieldName
fn webidl_enumeration(
&mut self,
values: Vec<Self::WebidlEnumerationValue>
) -> Self::WebidlEnumeration
&mut self,
values: Vec<Self::WebidlEnumerationValue>
) -> Self::WebidlEnumeration
fn webidl_enumeration_value(
&mut self,
value: &str
) -> Self::WebidlEnumerationValue
&mut self,
value: &str
) -> Self::WebidlEnumerationValue
fn webidl_union(
&mut self,
members: Vec<Self::WebidlTypeRef>
) -> Self::WebidlUnion
&mut self,
members: Vec<Self::WebidlTypeRef>
) -> Self::WebidlUnion
fn webidl_function_bindings_subsection(
&mut self,
bindings: Vec<Self::FunctionBinding>,
binds: Vec<Self::Bind>
) -> Self::WebidlFunctionBindingsSubsection
&mut self,
bindings: Vec<Self::FunctionBinding>,
binds: Vec<Self::Bind>
) -> Self::WebidlFunctionBindingsSubsection
fn import_binding(
&mut self,
name: Option<&str>,
wasm_ty: Self::WasmFuncTypeRef,
webidl_ty: Self::WebidlTypeRef,
params: Option<Self::OutgoingBindingMap>,
result: Option<Self::IncomingBindingMap>
) -> Self::ImportBinding
&mut self,
name: Option<&str>,
wasm_ty: Self::WasmFuncTypeRef,
webidl_ty: Self::WebidlTypeRef,
params: Option<Self::OutgoingBindingMap>,
result: Option<Self::IncomingBindingMap>
) -> Self::ImportBinding
fn export_binding(
&mut self,
name: Option<&str>,
wasm_ty: Self::WasmFuncTypeRef,
webidl_ty: Self::WebidlTypeRef,
params: Option<Self::IncomingBindingMap>,
result: Option<Self::OutgoingBindingMap>
) -> Self::ExportBinding
&mut self,
name: Option<&str>,
wasm_ty: Self::WasmFuncTypeRef,
webidl_ty: Self::WebidlTypeRef,
params: Option<Self::IncomingBindingMap>,
result: Option<Self::OutgoingBindingMap>
) -> Self::ExportBinding
fn bind(
&mut self,
func: Self::WasmFuncRef,
binding: Self::BindingRef
) -> Self::Bind
&mut self,
func: Self::WasmFuncRef,
binding: Self::BindingRef
) -> Self::Bind
fn outgoing_binding_map(
&mut self,
bindings: Vec<Self::OutgoingBindingExpression>
) -> Self::OutgoingBindingMap
&mut self,
bindings: Vec<Self::OutgoingBindingExpression>
) -> Self::OutgoingBindingMap
fn incoming_binding_map(
&mut self,
bindings: Vec<Self::IncomingBindingExpression>
) -> Self::IncomingBindingMap
&mut self,
bindings: Vec<Self::IncomingBindingExpression>
) -> Self::IncomingBindingMap
fn outgoing_binding_expression_as(
&mut self,
ty: Self::WebidlTypeRef,
idx: u32
) -> Self::OutgoingBindingExpressionAs
&mut self,
ty: Self::WebidlTypeRef,
idx: u32
) -> Self::OutgoingBindingExpressionAs
fn outgoing_binding_expression_utf8_str(
&mut self,
ty: Self::WebidlTypeRef,
offset: u32,
length: u32
) -> Self::OutgoingBindingExpressionUtf8Str
&mut self,
ty: Self::WebidlTypeRef,
offset: u32,
length: u32
) -> Self::OutgoingBindingExpressionUtf8Str
fn outgoing_binding_expression_utf8_c_str(
&mut self,
ty: Self::WebidlTypeRef,
offset: u32
) -> Self::OutgoingBindingExpressionUtf8CStr
&mut self,
ty: Self::WebidlTypeRef,
offset: u32
) -> Self::OutgoingBindingExpressionUtf8CStr
fn outgoing_binding_expression_i32_to_enum(
&mut self,
ty: Self::WebidlTypeRef,
idx: u32
) -> Self::OutgoingBindingExpressionI32ToEnum
&mut self,
ty: Self::WebidlTypeRef,
idx: u32
) -> Self::OutgoingBindingExpressionI32ToEnum
fn outgoing_binding_expression_view(
&mut self,
ty: Self::WebidlTypeRef,
offset: u32,
length: u32
) -> Self::OutgoingBindingExpressionView
&mut self,
ty: Self::WebidlTypeRef,
offset: u32,
length: u32
) -> Self::OutgoingBindingExpressionView
fn outgoing_binding_expression_copy(
&mut self,
ty: Self::WebidlTypeRef,
offset: u32,
length: u32
) -> Self::OutgoingBindingExpressionCopy
&mut self,
ty: Self::WebidlTypeRef,
offset: u32,
length: u32
) -> Self::OutgoingBindingExpressionCopy
fn outgoing_binding_expression_dict(
&mut self,
ty: Self::WebidlTypeRef,
fields: Vec<Self::OutgoingBindingExpression>
) -> Self::OutgoingBindingExpressionDict
&mut self,
ty: Self::WebidlTypeRef,
fields: Vec<Self::OutgoingBindingExpression>
) -> Self::OutgoingBindingExpressionDict
fn outgoing_binding_expression_bind_export(
&mut self,
ty: Self::WebidlTypeRef,
binding: Self::BindingRef,
idx: u32
) -> Self::OutgoingBindingExpressionBindExport
&mut self,
ty: Self::WebidlTypeRef,
binding: Self::BindingRef,
idx: u32
) -> Self::OutgoingBindingExpressionBindExport
fn incoming_binding_expression_get(
&mut self,
idx: u32
) -> Self::IncomingBindingExpressionGet
&mut self,
idx: u32
) -> Self::IncomingBindingExpressionGet
fn incoming_binding_expression_as(
&mut self,
ty: Self::WasmValType,
expr: Self::IncomingBindingExpression
) -> Self::IncomingBindingExpressionAs
&mut self,
ty: Self::WasmValType,
expr: Self::IncomingBindingExpression
) -> Self::IncomingBindingExpressionAs
fn incoming_binding_expression_alloc_utf8_str(
&mut self,
alloc_func_name: &str,
expr: Self::IncomingBindingExpression
) -> Self::IncomingBindingExpressionAllocUtf8Str
&mut self,
alloc_func_name: &str,
expr: Self::IncomingBindingExpression
) -> Self::IncomingBindingExpressionAllocUtf8Str
fn incoming_binding_expression_alloc_copy(
&mut self,
alloc_func_name: &str,
expr: Self::IncomingBindingExpression
) -> Self::IncomingBindingExpressionAllocCopy
&mut self,
alloc_func_name: &str,
expr: Self::IncomingBindingExpression
) -> Self::IncomingBindingExpressionAllocCopy
fn incoming_binding_expression_enum_to_i32(
&mut self,
ty: Self::WebidlTypeRef,
expr: Self::IncomingBindingExpression
) -> Self::IncomingBindingExpressionEnumToI32
&mut self,
ty: Self::WebidlTypeRef,
expr: Self::IncomingBindingExpression
) -> Self::IncomingBindingExpressionEnumToI32
fn incoming_binding_expression_field(
&mut self,
idx: u32,
expr: Self::IncomingBindingExpression
) -> Self::IncomingBindingExpressionField
&mut self,
idx: u32,
expr: Self::IncomingBindingExpression
) -> Self::IncomingBindingExpressionField
fn incoming_binding_expression_bind_import(
&mut self,
ty: Self::WasmFuncTypeRef,
binding: Self::BindingRef,
expr: Self::IncomingBindingExpression
) -> Self::IncomingBindingExpressionBindImport
&mut self,
ty: Self::WasmFuncTypeRef,
binding: Self::BindingRef,
expr: Self::IncomingBindingExpression
) -> Self::IncomingBindingExpressionBindImport
fn webidl_type_ref_named(
&mut self,
name: &str
) -> Option<Self::WebidlTypeRefNamed>
&mut self,
name: &str
) -> Option<Self::WebidlTypeRefNamed>
fn webidl_type_ref_indexed(
&mut self,
idx: u32
) -> Option<Self::WebidlTypeRefIndexed>
&mut self,
idx: u32
) -> Option<Self::WebidlTypeRefIndexed>
fn webidl_scalar_type_any(&mut self) -> Self::WebidlScalarType
fn webidl_scalar_type_boolean(&mut self) -> Self::WebidlScalarType
fn webidl_scalar_type_byte(&mut self) -> Self::WebidlScalarType
fn webidl_scalar_type_octet(&mut self) -> Self::WebidlScalarType
fn webidl_scalar_type_long(&mut self) -> Self::WebidlScalarType
fn webidl_scalar_type_unsigned_long(&mut self) -> Self::WebidlScalarType
fn webidl_scalar_type_short(&mut self) -> Self::WebidlScalarType
fn webidl_scalar_type_unsigned_short(&mut self) -> Self::WebidlScalarType
fn webidl_scalar_type_long_long(&mut self) -> Self::WebidlScalarType
fn webidl_scalar_type_unsigned_long_long(&mut self) -> Self::WebidlScalarType
fn webidl_scalar_type_float(&mut self) -> Self::WebidlScalarType
fn webidl_scalar_type_unrestricted_float(&mut self) -> Self::WebidlScalarType
fn webidl_scalar_type_double(&mut self) -> Self::WebidlScalarType
fn webidl_scalar_type_unrestricted_double(&mut self) -> Self::WebidlScalarType
fn webidl_scalar_type_dom_string(&mut self) -> Self::WebidlScalarType
fn webidl_scalar_type_byte_string(&mut self) -> Self::WebidlScalarType
fn webidl_scalar_type_usv_string(&mut self) -> Self::WebidlScalarType
fn webidl_scalar_type_object(&mut self) -> Self::WebidlScalarType
fn webidl_scalar_type_symbol(&mut self) -> Self::WebidlScalarType
fn webidl_scalar_type_array_buffer(&mut self) -> Self::WebidlScalarType
fn webidl_scalar_type_data_view(&mut self) -> Self::WebidlScalarType
fn webidl_scalar_type_int8_array(&mut self) -> Self::WebidlScalarType
fn webidl_scalar_type_int16_array(&mut self) -> Self::WebidlScalarType
fn webidl_scalar_type_int32_array(&mut self) -> Self::WebidlScalarType
fn webidl_scalar_type_uint8_array(&mut self) -> Self::WebidlScalarType
fn webidl_scalar_type_uint16_array(&mut self) -> Self::WebidlScalarType
fn webidl_scalar_type_uint32_array(&mut self) -> Self::WebidlScalarType
fn webidl_scalar_type_uint8_clamped_array(&mut self) -> Self::WebidlScalarType
fn webidl_scalar_type_float32_array(&mut self) -> Self::WebidlScalarType
fn webidl_scalar_type_float64_array(&mut self) -> Self::WebidlScalarType
fn wasm_val_type_i32(&mut self) -> Self::WasmValType
fn wasm_val_type_i64(&mut self) -> Self::WasmValType
fn wasm_val_type_f32(&mut self) -> Self::WasmValType
fn wasm_val_type_f64(&mut self) -> Self::WasmValType
fn wasm_val_type_v128(&mut self) -> Self::WasmValType
fn wasm_val_type_anyref(&mut self) -> Self::WasmValType
fn wasm_func_type_ref_named(
&mut self,
name: &str
) -> Option<Self::WasmFuncTypeRefNamed>
&mut self,
name: &str
) -> Option<Self::WasmFuncTypeRefNamed>
fn wasm_func_type_ref_indexed(
&mut self,
idx: u32
) -> Option<Self::WasmFuncTypeRefIndexed>
&mut self,
idx: u32
) -> Option<Self::WasmFuncTypeRefIndexed>
fn wasm_func_ref_named(&mut self, name: &str) -> Option<Self::WasmFuncRefNamed>
fn wasm_func_ref_indexed(
&mut self,
idx: u32
) -> Option<Self::WasmFuncRefIndexed>
&mut self,
idx: u32
) -> Option<Self::WasmFuncRefIndexed>