[][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> { ... } }

Provided methods

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

fn with_const(self) -> ConstnessAnd<Self>

fn without_const(self) -> ConstnessAnd<Self>

Loading content...

Implementors

impl<T> WithConstness for T[src]

Loading content...