Lines Matching refs:OwnedRooted
6 OwnedRooted, Ref, RootScope, StorageType, StructRef, StructRefPre, StructType, Val, ValType,
207 pub unsafe fn as_wasmtime(&self) -> Option<OwnedRooted<$wasmtime>> {
209 Some(OwnedRooted::from_borrowed_raw_parts_for_c_api(
214 pub unsafe fn into_wasmtime(self) -> Option<OwnedRooted<$wasmtime>> {
218 unsafe fn to_owned(&self) -> Option<OwnedRooted<$wasmtime>> {
220 Some(OwnedRooted::from_owned_raw_parts_for_c_api(
234 impl From<Option<OwnedRooted<$wasmtime>>> for $c {
235 fn from(rooted: Option<OwnedRooted<$wasmtime>>) -> $c {
253 impl From<OwnedRooted<$wasmtime>> for $c {
254 fn from(rooted: OwnedRooted<$wasmtime>) -> $c {
653 crate::initialize(out, None::<OwnedRooted<StructRef>>.into()); in wasmtime_structref_new()
766 crate::initialize(out, None::<OwnedRooted<StructRef>>.into()); in wasmtime_eqref_as_struct()
808 crate::initialize(out, None::<OwnedRooted<ArrayRef>>.into()); in wasmtime_arrayref_new()
937 crate::initialize(out, None::<OwnedRooted<ArrayRef>>.into()); in wasmtime_eqref_as_array()
967 crate::initialize(out, None::<OwnedRooted<EqRef>>.into()); in wasmtime_anyref_as_eqref()
997 crate::initialize(out, None::<OwnedRooted<StructRef>>.into()); in wasmtime_anyref_as_struct()
1027 crate::initialize(out, None::<OwnedRooted<ArrayRef>>.into()); in wasmtime_anyref_as_array()