transmute — reinterpret bits. cast — conversion.
transmute:
cast:
1let x: f32 = 3.14;2let y: i32 = unsafe { std::mem::transmute(x) }; // Bit reinterpret34let x: f32 = 3.14;5let y: i32 = x as i32; // Truncation
Key: transmute for bit reinterpretation, cast for conversion.