On this page
Trait std::mem::BikeshedIntrinsicFrom
pub unsafe trait BikeshedIntrinsicFrom<Src, Context, const ASSUME: Assume = core::::mem::transmutability::BikeshedIntrinsicFrom::{constant#0}>
where
Src: ?Sized,{ }
🔬This is a nightly-only experimental API. (
transmutability
#99571)
Are values of a type transmutable into values of another type?
This trait is implemented on-the-fly by the compiler for types Src
and Self
when the bits of any value of type Self
are safely transmutable into a value of type Dst
, in a given Context
, notwithstanding whatever safety checks you have asked the compiler to Assume
are satisfied.
Implementors
© 2010 The Rust Project Developers
Licensed under the Apache License, Version 2.0 or the MIT license, at your option.
https://doc.rust-lang.org/std/mem/trait.BikeshedIntrinsicFrom.html