Skip to main content

interior_kind

Function interior_kind 

Source
fn interior_kind<'tcx>(tcx: TyCtxt<'tcx>, ty: Ty<'tcx>) -> Option<String>
Expand description

Some("RefCell") when ty, behind references and shared pointers, is a cell, lock or atomic.