Trait packed_simd::IntoBits

source ·
pub trait IntoBits<T>: Sized {
    // Required method
    fn into_bits(self) -> T;
}
Available on crate feature into_bits only.
Expand description

Safe lossless bitwise conversion from Self to T.

Required Methods§

source

fn into_bits(self) -> T

Safe lossless bitwise transmute from self to T.

Implementors§

source§

impl<T, U> IntoBits<U> for Twhere U: FromBits<T>,

FromBits implies IntoBits.