[][src]Macro sysfunc_dynamac_transmute::wrapped_transmute

macro_rules! wrapped_transmute {
    ($value:tt, $source_type:ty, $destination_type:ty) => { ... };
}

Wrapped transmute is a simple macro designed to take three arguments:

  • value: the value to be transmuted;
  • source_type: the type of the source (type of $value);
  • destination_type: the type of the destination/output.

The implementation of the macro is determined by the features of the crate, which are used to guard against langauge features (inclusion or exclusion of std and core).