Transmute

Trait Transmute 

Source
pub trait Transmute<T: Sized>: Sized {
    // Required method
    fn transmute(self) -> T;
}

Required Methods§

Source

fn transmute(self) -> T

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<A, B> Transmute<B> for A
where A: Transmute<B>,