Searched refs:D (Results 1 – 1 of 1) sorted by relevance
9 pub fn __convert_mut<'a, S, D>(src: *mut S) -> Option<&'a mut D> { in __convert_mut() argument10 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() argument14 return unsafe { core::mem::transmute::<*const S, *const D>(src).as_ref() }; in __convert_ref() constant