[][src]Function uapi::pod_iter

pub fn pod_iter<'a, T: Pod + 'a, U: Packed + ?Sized>(
    u: &'a U
) -> Result<impl Iterator<Item = T> + 'a>

Converts u into an iterator of T

The size of u must be a multiple of the size of T