Struct rustc_infer::traits::InternedObligationCauseCode
source · [−]pub struct InternedObligationCauseCode<'tcx> {
code: Option<Rc<ObligationCauseCode<'tcx>>>,
}
Fields
code: Option<Rc<ObligationCauseCode<'tcx>>>
None
for ObligationCauseCode::MiscObligation
(a common case, occurs ~60% of
the time). Some
otherwise.
Auto Trait Implementations
impl<'tcx> !RefUnwindSafe for InternedObligationCauseCode<'tcx>
impl<'tcx> !Send for InternedObligationCauseCode<'tcx>
impl<'tcx> !Sync for InternedObligationCauseCode<'tcx>
impl<'tcx> Unpin for InternedObligationCauseCode<'tcx>
impl<'tcx> !UnwindSafe for InternedObligationCauseCode<'tcx>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<'a, T> Captures<'a> for Twhere
T: ?Sized,
Layout
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference’s “Type Layout” chapter for details on type layout guarantees.
Size: 8 bytes