Function rustc::middle::trans::adt::is_ffi_safe[src]

pub fn is_ffi_safe(tcx: &ctxt, def_id: DefId) -> bool

Determine, without doing translation, whether an ADT must be FFI-safe. For use in lint or similar, where being sound but slightly incomplete is acceptable.