std::pin::Pin
pub struct Pin<Ptr>
- Kind
- struct
- Module
std::pin- Since
- 1.33.0
Source: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
The entries of std::pin in the Rust reference. This page has 27 cards.
pub struct Pin<Ptr>
std::pinSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub macro pin($value:expr $(,)?) { ... }
std::pinSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn as_deref_mut( self: Pin<&mut Pin<Ptr>>, ) -> Pin<&mut <Ptr as Deref>::Target> where Ptr: DerefMut
std::pinSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn as_mut(&mut self) -> Pin<&mut <Ptr as Deref>::Target> where Ptr: DerefMut
std::pinSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn as_ref(&self) -> Pin<&<Ptr as Deref>::Target> where Ptr: Deref
std::pinSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn get_mut(self) -> &'a mut T where T: Unpin
std::pinSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn get_ref(self) -> &'a T
std::pinSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const unsafe fn get_unchecked_mut(self) -> &'a mut T
std::pinSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn into_inner(pin: Pin<Ptr>) -> Ptr
std::pinSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const unsafe fn into_inner_unchecked(pin: Pin<Ptr>) -> Ptr
std::pinSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn into_ref(self) -> Pin<&'a T>
std::pinSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub unsafe fn map_unchecked<U, F>(self, func: F) -> Pin<&'a U> where F: FnOnce(&T) -> &U, U: ?Sized
std::pinSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub unsafe fn map_unchecked_mut<U, F>(self, func: F) -> Pin<&'a mut U> where F: FnOnce(&mut T) -> &mut U, U: ?Sized
std::pinSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn new(pointer: Ptr) -> Pin<Ptr>
std::pinSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const unsafe fn new_unchecked(pointer: Ptr) -> Pin<Ptr>
std::pinSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn set(&mut self, value: <Ptr as Deref>::Target) where <Ptr as Deref>::Target: Sized
std::pinSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn static_mut(r: &'static mut T) -> Pin<&'static mut T>
std::pinSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn static_ref(r: &'static T) -> Pin<&'static T>
std::pinSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub unsafe trait PinCoerceUnsized: Deref
std::pinSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub struct UnsafePinned<T>
std::pinSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn get(&self) -> *mut T
std::pinSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn get_mut_pinned(self: Pin<&mut UnsafePinned<T>>) -> *mut T
std::pinSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn get_mut_unchecked(&mut self) -> *mut T
std::pinSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn into_inner(self) -> T
std::pinSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn new(value: T) -> UnsafePinned<T>
std::pinSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn raw_get(this: *const UnsafePinned<T>) -> *mut T
std::pinSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn raw_get_mut(this: *mut UnsafePinned<T>) -> *mut T
std::pinSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.