Lines Matching refs:Option
197 val: Option<Box<wasmtime_component_val_t>>,
200 impl From<(&String, &Option<Box<Val>>)> for wasmtime_component_valvariant_t {
201 fn from((discriminant, value): (&String, &Option<Box<Val>>)) -> Self { in from()
211 impl From<&wasmtime_component_valvariant_t> for (String, Option<Box<Val>>) { implementation
224 val: Option<Box<wasmtime_component_val_t>>,
227 impl From<&wasmtime_component_valresult_t> for Result<Option<Box<Val>>, Option<Box<Val>>> {
238 impl From<&Result<Option<Box<Val>>, Option<Box<Val>>>> for wasmtime_component_valresult_t {
239 fn from(value: &Result<Option<Box<Val>>, Option<Box<Val>>>) -> Self { in from()
272 Option(Option<Box<Self>>), enumerator
313 wasmtime_component_val_t::Option(x) => { in from()
314 Val::Option(x.as_ref().map(|x| Box::new(Val::from(x.as_ref())))) in from()
347 Val::Option(x) => wasmtime_component_val_t::Option( in from()
374 pub extern "C" fn wasmtime_component_val_free(_dst: Option<Box<wasmtime_component_val_t>>) {} in wasmtime_component_val_free()
428 ) -> Option<Box<wasmtime_error_t>> { in wasmtime_component_resource_any_drop()
434 _resource: Option<Box<wasmtime_component_resource_any_t>>, in wasmtime_component_resource_any_delete()
503 _resource: Option<Box<wasmtime_component_resource_host_t>>, in wasmtime_component_resource_host_delete()
512 ) -> Option<Box<wasmtime_error_t>> { in wasmtime_component_resource_any_to_host()
526 ) -> Option<Box<wasmtime_error_t>> { in wasmtime_component_resource_host_to_any()