[][src]Function bytemuck::cast

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

Cast T into U

Panics

This is try_cast but will panic on error.