Searched refs:from_foreign (Results 1 – 8 of 8) sorted by relevance
63 unsafe fn from_foreign(ptr: *mut c_void) -> Self; in from_foreign() method81 unsafe { Some(Self::from_foreign(ptr)) } in try_from_foreign()140 unsafe fn from_foreign(_: *mut c_void) -> Self {} in from_foreign() method
71 drop(unsafe { T::from_foreign(ptr) }) in drop()255 let value = unsafe { T::from_foreign(new) }; in store()
311 drop(unsafe { P::from_foreign(ptr.cast()) }); in register_foreign()
107 unsafe { T::from_foreign(ptr.cast()) } in drvdata_obtain()
238 let ptr = unsafe { <T::Ptr as ForeignOwnable>::from_foreign(private) }; in release()
667 unsafe { <T as ForeignOwnable>::from_foreign(self.as_ref().driver_data.cast()) }, in clear_data()
417 unsafe fn from_foreign(ptr: *mut c_void) -> Self { in from_foreign() function452 unsafe fn from_foreign(ptr: *mut c_void) -> Self { in from_foreign() function
388 unsafe fn from_foreign(ptr: *mut c_void) -> Self { in from_foreign() method
Completed in 15 milliseconds