Lines Matching refs:value

60     fn from(value: &wasmtime_component_vallist_t) -> Self {  in from()
61 value.as_slice().iter().map(Val::from).collect() in from()
66 fn from(value: &[Val]) -> Self { in from()
67 value in from()
76 fn from(value: &wasmtime_component_valmap_t) -> Self { in from()
77 value in from()
80 .map(|entry| (Val::from(&entry.key), Val::from(&entry.value))) in from()
86 fn from(value: &[(Val, Val)]) -> Self { in from()
87 value in from()
91 value: wasmtime_component_val_t::from(v), in from()
109 value: wasmtime_component_val_t, field
122 fn from(value: &wasmtime_component_valrecord_entry_t) -> Self { in from()
124 String::from_utf8(value.name.clone().take()).unwrap(), in from()
125 Val::from(&value.val), in from()
140 fn from(value: &wasmtime_component_valrecord_t) -> Self { in from()
141 value.as_slice().iter().map(Into::into).collect() in from()
146 fn from(value: &[(String, Val)]) -> Self { in from()
147 value in from()
156 fn from(value: &wasmtime_component_valtuple_t) -> Self { in from()
157 value.as_slice().iter().map(Val::from).collect() in from()
162 fn from(value: &[Val]) -> Self { in from()
163 value in from()
172 fn from(value: &wasmtime_component_valflags_t) -> Self { in from()
173 value in from()
184 fn from(value: &[String]) -> Self { in from()
185 value in from()
201 fn from((discriminant, value): (&String, &Option<Box<Val>>)) -> Self { in from()
204 val: value in from()
212 fn from(value: &wasmtime_component_valvariant_t) -> Self { in from()
214 String::from_utf8(value.discriminant.clone().take()).unwrap(), in from()
215 value.val.as_ref().map(|x| Box::new(Val::from(x.as_ref()))), in from()
228 fn from(value: &wasmtime_component_valresult_t) -> Self { in from()
229 let val = value.val.as_ref().map(|x| Box::new(Val::from(x.as_ref()))); in from()
231 match value.is_ok { in from()
239 fn from(value: &Result<Option<Box<Val>>, Option<Box<Val>>>) -> Self { in from()
240 let (Ok(x) | Err(x)) = value; in from()
243 is_ok: value.is_ok(), in from()
286 fn from(value: &wasmtime_component_val_t) -> Self { in from()
287 match value { in from()
325 fn from(value: &Val) -> Self { in from()
326 match value { in from()
386 value: &mut ManuallyDrop<wasmtime_component_val_t>, in wasmtime_component_val_delete()
389 ManuallyDrop::drop(value); in wasmtime_component_val_delete()