[−][src]Trait rfc::core::convert::transmute::TransmuteInto
Reinterpret the bits of Self
as a type Dst
.
The reciprocal of TransmuteFrom.
This trait is implemented automatically by the compiler for combinations of types where a transmutation is valid.
Required methods
fn transmute_into(self) -> Dst where
Self: Sized,
Dst: Sized,
Neglect: SafeTransmuteOptions,
Self: Sized,
Dst: Sized,
Neglect: SafeTransmuteOptions,
Reinterpret the bits of a value of one type as another type, safely.
unsafe fn unsafe_transmute_into(self) -> Dst where
Self: Sized,
Dst: Sized,
Neglect: TransmuteOptions,
Self: Sized,
Dst: Sized,
Neglect: TransmuteOptions,
Reinterpret the bits of a value of one type as another type, potentially unsafely.
The onus is on you to ensure that calling this method is safe.
Implementors
impl<Src, Dst: ?Sized, Neglect> TransmuteInto<Dst, Neglect> for Src where
Src: ?Sized,
Dst: TransmuteFrom<Src, Neglect>,
Neglect: TransmuteOptions,
[src]
Src: ?Sized,
Dst: TransmuteFrom<Src, Neglect>,
Neglect: TransmuteOptions,
fn transmute_into(self) -> Dst where
Self: Sized,
Dst: Sized,
Neglect: SafeTransmuteOptions,
[src]
Self: Sized,
Dst: Sized,
Neglect: SafeTransmuteOptions,
unsafe fn unsafe_transmute_into(self) -> Dst where
Self: Sized,
Dst: Sized,
Neglect: TransmuteOptions,
[src]
Self: Sized,
Dst: Sized,
Neglect: TransmuteOptions,