Struct rustc_typeck::coherence::unsafety::UnsafetyChecker [−][src]
struct UnsafetyChecker<'tcx> {
tcx: TyCtxt<'tcx>,
}Fields
tcx: TyCtxt<'tcx>Implementations
fn check_unsafety_coherence(
&mut self,
item: &Item<'_>,
impl_generics: Option<&Generics<'_>>,
unsafety: Unsafety,
polarity: ImplPolarity
)
Trait Implementations
Auto Trait Implementations
impl<'tcx> !RefUnwindSafe for UnsafetyChecker
impl<'tcx> !Send for UnsafetyChecker
impl<'tcx> !Sync for UnsafetyChecker
impl<'tcx> Unpin for UnsafetyChecker
impl<'tcx> !UnwindSafe for UnsafetyChecker
Blanket Implementations
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
