[][src]Trait typic::TransmuteInto

pub unsafe trait TransmuteInto<U>: Sized {
    fn transmute_into(self) -> U;
}

A safe and sound value-to-value conversion. The opposite of TransmuteFrom.

TransmuteInto<U> is only implemented for T when

  1. T is soundly transmutable into U, and
  2. T is safely transmutable into U.

See also transmute_safe.

Required methods

fn transmute_into(self) -> U

Reinterprets the bits of self as type U.

Loading content...

Implementors

impl<T, U> TransmuteInto<U> for T where
    U: TransmuteFrom<T>, 
[src]

Loading content...