[][src]Trait rustc_middle::ty::WithConstness

pub trait WithConstness: Sized {
    fn with_constness(self, constness: Constness) -> ConstnessAnd<Self> { ... }
fn with_const(self) -> ConstnessAnd<Self> { ... }
fn without_const(self) -> ConstnessAnd<Self> { ... } }
⚙️ This is an internal compiler API. (rustc_private)

This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml.

Provided methods

fn with_constness(self, constness: Constness) -> ConstnessAnd<Self>

⚙️ This is an internal compiler API. (rustc_private)

This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml.

fn with_const(self) -> ConstnessAnd<Self>

⚙️ This is an internal compiler API. (rustc_private)

This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml.

fn without_const(self) -> ConstnessAnd<Self>

⚙️ This is an internal compiler API. (rustc_private)

This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml.

Loading content...

Implementors

impl<T> WithConstness for T[src]

Loading content...