Skip to main content

Module unsafe_pinned

Module unsafe_pinned 

Source

Re-exportsยง

use crate::cell::UnsafeCell; ๐Ÿ”’
use crate::marker::Unpin; ๐Ÿ”’
use crate::ops::CoerceUnsized; ๐Ÿ”’ Experimental
use crate::ops::DispatchFromDyn; ๐Ÿ”’ Experimental
use crate::pin::Pin; ๐Ÿ”’
use crate::fmt; ๐Ÿ”’
use crate::ptr; ๐Ÿ”’

Structsยง

UnsafePinnedExperimental
This type provides a way to entirely opt-out of typical aliasing rules; specifically, &mut UnsafePinned<T> is not guaranteed to be a unique pointer. This also subsumes the effects of UnsafeCell, i.e., &UnsafePinned<T> may point to data that is being mutated.