Function uapi::pod_write

source ·
pub fn pod_write<T: Pod + ?Sized, U: Packed + ?Sized>(
    u: &U,
    t: &mut T
) -> Result<()>
Expand description

Writes u to t

u and t must have the same size.