[][src]Function uapi::pod_read

pub fn pod_read<T: Pod, U: Packed + ?Sized>(u: &U) -> Result<T>

Converts u to T

u and T must have the same size.