Home
last modified time | relevance | path

Searched refs:D (Results 1 – 1 of 1) sorted by relevance

/DragonOS-0.1.7/kernel/src/libs/
Dffi_convert.rs9 pub fn __convert_mut<'a, S, D>(src: *mut S) -> Option<&'a mut D> { in __convert_mut() argument
10 return unsafe { core::mem::transmute::<*mut S, *mut D>(src).as_mut() }; in __convert_mut()
13 pub fn __convert_ref<'a, S, D>(src: *const S) -> Option<&'a D> { in __convert_ref() argument
14 return unsafe { core::mem::transmute::<*const S, *const D>(src).as_ref() }; in __convert_ref() constant