Function clippy_utils::ty::is_c_void
source ยท pub fn is_c_void(cx: &LateContext<'_>, ty: Ty<'_>) -> bool
Expand description
Check if the given type is either core::ffi::c_void
, std::os::raw::c_void
, or one of the
platform specific libc::<platform>::c_void
types in libc.