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

pub trait WithConstness: Sized {
    fn with_constness(self, constness: BoundConstness) -> ConstnessAnd<Self> { ... }
fn with_const_if_const(self) -> ConstnessAnd<Self> { ... }
fn without_const(self) -> ConstnessAnd<Self> { ... } }

Provided methods

Implementors