[][src]Function bytemuck::cast

pub fn cast<A: Pod, B: Pod>(a: A) -> B

Cast T into U

Panics

This is try_cast with an unwrap.