Replaced empty destructors with NonCopyable #7427
closes #7427
Added the comment #7427
Changed name to non_copyable #7427
updated the places where the struct is created #7427
Indentation
removed extra line
auto merge of #10134 : reedlepee123/rust/priv_fields, r=brson