[][src]Function uapi::pod_read_init

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

Converts an initial port of u to T

The size of u must be equal to or larger than the size of T.