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/121675 below:

Tracking Issue for the `Freeze` trait · Issue #121675 · rust-lang/rust · GitHub

Feature gate: #![feature(freeze)]

This is a tracking issue for the core::marker::Freeze trait

This trait allows generic code to restrict generic parameters to types without interior mutability.

Public API
use std::marker::Freeze;

trait Trait<T: Freeze + 'static> {
    const VALUE: T;
    const VALUE_REF: &'static T = &Self::VALUE;
}
Steps / History Unresolved Questions
  1. https://std-dev-guide.rust-lang.org/feature-lifecycle/stabilization.html

juntyr, IndigoLily, terrarier2111, stepancheg, zachs18 and 4 morejuntyr and musjjjuntyr and musjjjuntyr, kupiakos, bjoernager, tim-harding and musjjjuntyr, JieningYu, kupiakos, mintlu8 and musjjjuntyr, orzogc, kupiakos, joseluis, mintlu8 and 1 more


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