Rust Search

Find the best content on Rust, curated by the community; a search engine for Rustaceans.
doc.rust-lang.org
pub unsafe fn map_unchecked_mut<U, F>(self, func: F) -> Pin<&'a mut U>
Constructs a new pin by mapping the interior value.
method core Stable since 1.33.0 Version 1.100.0-nightly
doc.rust-lang.org
pub unsafe fn map_unchecked<U, F>(self, func: F) -> Pin<&'a U>
Constructs a new pin by mapping the interior value.
method core Stable since 1.33.0 Version 1.100.0-nightly
doc.rust-lang.org
pub const fn into_ref(self) -> Pin<&'a T>
Converts this Pin<&mut T> into a Pin<&T> with the same lifetime.
method core Stable since 1.33.0 Version 1.100.0-nightly
doc.rust-lang.org
pub const unsafe fn into_inner_unchecked(pin: Pin<Ptr>) -> Ptr
Unwraps this Pin<Ptr>, returning the underlying Ptr.
associated_function core Stable since 1.39.0 Version 1.100.0-nightly
doc.rust-lang.org
pub const fn into_inner(pin: Pin<Ptr>) -> Ptr
Unwraps this Pin<Ptr>, returning the underlying pointer.
associated_function core Stable since 1.39.0 Version 1.100.0-nightly
doc.rust-lang.org
pub const unsafe fn get_unchecked_mut(self) -> &'a mut T
Gets a mutable reference to the data inside of this Pin.
method core Stable since 1.33.0 Version 1.100.0-nightly
doc.rust-lang.org
pub const fn get_ref(self) -> &'a T
Gets a shared reference out of a pin.
method core Stable since 1.33.0 Version 1.100.0-nightly
doc.rust-lang.org
pub const fn get_mut(self) -> &'a mut T
Gets a mutable reference to the data inside of this Pin.
method core Stable since 1.33.0 Version 1.100.0-nightly
doc.rust-lang.org
pub const fn as_ref(&self) -> Pin<&<Ptr as >::Target>
Gets a shared reference to the pinned value this Pin points to.
method core Stable since 1.33.0 Version 1.100.0-nightly
doc.rust-lang.org
pub const fn as_mut(&mut self) -> Pin<&mut <Ptr as >::Target>
Gets a mutable reference to the pinned value this Pin<Ptr> points to.
method core Stable since 1.33.0 Version 1.100.0-nightly
doc.rust-lang.org
pub const fn as_deref_mut(self: Pin<&mut Self>) -> Pin<&mut <Ptr as >::Target>
Gets Pin<&mut T> to the underlying pinned value from this nested Pin-pointer.
method core Stable since 1.84.0 Version 1.100.0-nightly
doc.rust-lang.org
pub struct Pin<Ptr>
A pointer which pins its pointee in place.
struct core Stable since 1.33.0 Version 1.100.0-nightly
doc.rust-lang.org
pub mod pin
Types that pin data to a location in memory.
module core Stable since 1.33.0 Version 1.100.0-nightly
doc.rust-lang.org
pub auto trait UnwindSafe
A marker trait which represents "panic safe" types in Rust.
trait core Stable since 1.9.0 Version 1.100.0-nightly
doc.rust-lang.org
pub auto trait RefUnwindSafe
A marker trait representing types where a shared reference is considered unwind safe.
trait core Stable since 1.9.0 Version 1.100.0-nightly
doc.rust-lang.org
pub struct AssertUnwindSafe<T>
A simple wrapper around a type to assert that it is unwind safe.
struct core Stable since 1.9.0 Version 1.100.0-nightly
doc.rust-lang.org
pub const fn as_str(&self) -> Option<&'static str>
Gets the formatted message, if it has no arguments to be formatted at runtime.
method core Stable since 1.81.0 Version 1.100.0-nightly
doc.rust-lang.org
pub struct PanicMessage<'a>
A message that was given to the panic!() macro.
struct core Stable since 1.81.0 Version 1.100.0-nightly
doc.rust-lang.org
pub fn payload(&self) -> &dyn crate::any::Any + Send
Returns the payload associated with the panic.
method core Stable since 1.10.0 Version 1.100.0-nightly
doc.rust-lang.org
pub fn message(&self) -> PanicMessage<'_>
The message that was given to the panic! macro.
method core Stable since 1.81.0 Version 1.100.0-nightly
"After all, Rust only became as good as it is by going through a rather drastic transformation. At one point it had a GC and Green Threads, famously. T..."

Search tips

Type anything to search across articles, videos (including conference talks), podcasts, research, crates, and Rust API documentation. These operators give you finer control — click an example to try it.

Find pages containing all your words. Pages where the words appear together rank higher.
Quote part of your query to keep those words together as an exact phrase within a larger search.
Wrap the whole query in quotes for a verbatim search that matches text exactly, punctuation and all — perfect for Rust syntax. Needs at least 3 characters.
Put ! first to open the top result immediately. Quote the whole query for a literal leading bang, as in '!Send'. Bangs elsewhere, such as println!, stay literal. Browser and launcher shortcuts can invoke this directly. See search integrations.
Limit results to a single site. Works on its own () too. One site: per search.

Use the tabs and filters above the results to narrow by content type, publication year, and sort order.