Lines Matching refs:structref
645 Ok(structref) => { in wasmtime_structref_new()
646 let owned = structref in wasmtime_structref_new()
661 structref: Option<&wasmtime_structref_t>, in wasmtime_structref_clone()
664 let structref = structref.and_then(|s| s.as_wasmtime()); in wasmtime_structref_clone() localVariable
665 crate::initialize(out, structref.into()); in wasmtime_structref_clone()
670 structref: Option<&mut ManuallyDrop<wasmtime_structref_t>>, in wasmtime_structref_unroot()
672 if let Some(structref) = structref { in wasmtime_structref_unroot()
673 ManuallyDrop::drop(structref); in wasmtime_structref_unroot()
679 structref: Option<&wasmtime_structref_t>, in wasmtime_structref_to_anyref()
682 let anyref = structref in wasmtime_structref_to_anyref()
690 structref: Option<&wasmtime_structref_t>, in wasmtime_structref_to_eqref()
693 let eqref = structref in wasmtime_structref_to_eqref()
702 structref: Option<&wasmtime_structref_t>, in wasmtime_structref_field()
706 let structref = structref in wasmtime_structref_field() localVariable
710 let rooted = structref.to_rooted(&mut scope); in wasmtime_structref_field()
724 structref: Option<&wasmtime_structref_t>, in wasmtime_structref_set_field()
728 let structref = structref in wasmtime_structref_set_field() localVariable
732 let rooted = structref.to_rooted(&mut scope); in wasmtime_structref_set_field()
760 if let Ok(Some(structref)) = rooted.as_struct(&scope) { in wasmtime_eqref_as_struct()
761 let owned = structref.to_owned_rooted(&mut scope).expect("in scope"); in wasmtime_eqref_as_struct()
991 if let Ok(Some(structref)) = rooted.as_struct(&scope) { in wasmtime_anyref_as_struct()
992 let owned = structref.to_owned_rooted(&mut scope).expect("in scope"); in wasmtime_anyref_as_struct()