A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/rust-lang/rust/issues/88955 below:

Tracking Issue for const Derefs · Issue #88955 · rust-lang/rust · GitHub

Feature gate: #![feature(const_deref)]

This is a tracking issue for implementing const Deref{,Mut} in the standard library.

Public API
// alloc::borrow

impl<B: ?Sized + ToOwned> const Deref for Cow<'_, B>
where
    B::Owned: ~const Borrow<B> {
    type Target = B;
}

// core::mem::manually_drop
impl<T: ?Sized> const Deref for ManuallyDrop<T> {
    type Target = T;
}
impl<T: ?Sized> const DerefMut for ManuallyDrop<T> {
    type Target = T;
}

// core::ops::deref
impl<T: ?Sized> const Deref for &mut T {
    type Target = T;
}
impl<T: ?Sized> const Deref for &T {
    type Target = T;
}
Steps / History Unresolved Questions

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4