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

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

Provided methods

pub fn with_constness(self, constness: Constness) -> ConstnessAnd<Self>[src]

pub fn with_const(self) -> ConstnessAnd<Self>[src]

pub fn without_const(self) -> ConstnessAnd<Self>[src]

Loading content...

Implementors

impl<T> WithConstness for T[src]

Loading content...