Home
last modified time | relevance | path

Searched defs:S (Results 1 – 1 of 1) sorted by relevance

/DragonOS-0.1.5/kernel/src/libs/
Dffi_convert.rs9 pub fn __convert_mut<'a, S, D>(src: *mut S) -> Option<&'a mut D> { in __convert_mut() argument
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