Struct rustc_middle::ty::context::CommonConsts [−][src]
pub struct CommonConsts<'tcx> {
pub unit: &'tcx Const<'tcx>,
}Fields
unit: &'tcx Const<'tcx>Implementations
impl<'tcx> CommonConsts<'tcx>[src]
impl<'tcx> CommonConsts<'tcx>[src]fn new(
interners: &CtxtInterners<'tcx>,
types: &CommonTypes<'tcx>
) -> CommonConsts<'tcx>[src]
interners: &CtxtInterners<'tcx>,
types: &CommonTypes<'tcx>
) -> CommonConsts<'tcx>
Auto Trait Implementations
impl<'tcx> !RefUnwindSafe for CommonConsts<'tcx>
impl<'tcx> !Send for CommonConsts<'tcx>
impl<'tcx> !Sync for CommonConsts<'tcx>
impl<'tcx> Unpin for CommonConsts<'tcx>
impl<'tcx> !UnwindSafe for CommonConsts<'tcx>
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]pub fn borrow_mut(&mut self) -> &mut T[src]
pub fn borrow_mut(&mut self) -> &mut T[src]Mutably borrows from an owned value. Read more
impl<T> MaybeResult<T> for T[src]
impl<T> MaybeResult<T> for T[src]impl<T> WithConstness for T[src]
impl<T> WithConstness for T[src]fn with_constness(self, constness: Constness) -> ConstnessAnd<Self>[src]
fn with_const(self) -> ConstnessAnd<Self>[src]
fn without_const(self) -> ConstnessAnd<Self>[src]
impl<'a, T> Captures<'a> for T where
T: ?Sized, [src]
T: ?Sized,