make the core::raw struct representation defined

Closes #18313