[src]

Module std::ty

Types dealing with unsafe actions.

Unsafe

Unsafe type that wraps a type T and indicates unsafe interior operations on the wrapped type. Types with an Unsafe<T> field are considered to have an unsafe interior. The Unsafe type is the only legal way to obtain aliasable data that is considered mutable. In general, transmuting an &T type into an &mut T is considered undefined behavior.