Trait WithConstness
rustc_middle::ty
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> { ... } }
pub fn with_constness(self, constness: Constness) -> ConstnessAnd<Self>
pub fn with_const(self) -> ConstnessAnd<Self>
pub fn without_const(self) -> ConstnessAnd<Self>
impl<T> WithConstness for T