-
-
Notifications
You must be signed in to change notification settings - Fork 14.5k
Closed
Description
It would be nice if there would be some way to std::mem::transmute in functions, even with type parameters.
Maybe the prototype of the transmute function could be changed to
fn transmute<T,U:Transmutable<T>>(x: T) -> U;
where Transmutable is a compiler-implemented type, like Send, Copy or Share.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels