Lines Matching defs:Pod
256 pub fn cast<A: Pod, B: Pod>(a: A) -> B { in cast()
270 pub fn cast_mut<A: Pod, B: Pod>(a: &mut A) -> &mut B { in cast_mut()
291 pub fn cast_ref<A: Pod, B: Pod>(a: &A) -> &B { in cast_ref()
312 pub fn cast_slice<A: Pod, B: Pod>(a: &[A]) -> &[B] { in cast_slice()
325 pub fn cast_slice_mut<A: Pod, B: Pod>(a: &mut [A]) -> &mut [B] { in cast_slice_mut()
334 pub fn pod_align_to<T: Pod, U: Pod>(vals: &[T]) -> (&[T], &[U], &[T]) { in pod_align_to()
340 pub fn pod_align_to_mut<T: Pod, U: Pod>( in pod_align_to_mut()
357 pub fn try_cast<A: Pod, B: Pod>(a: A) -> Result<B, PodCastError> { in try_cast()
372 pub fn try_cast_ref<A: Pod, B: Pod>(a: &A) -> Result<&B, PodCastError> { in try_cast_ref()
390 pub fn try_cast_mut<A: Pod, B: Pod>(a: &mut A) -> Result<&mut B, PodCastError> { in try_cast_mut()
420 pub fn try_cast_slice<A: Pod, B: Pod>(a: &[A]) -> Result<&[B], PodCastError> { in try_cast_slice()
444 pub fn try_cast_slice_mut<A: Pod, B: Pod>( in try_cast_slice_mut()