pub fn apply_fixes_rust(source: &str, layouts: &[&StructLayout]) -> StringExpand description
Apply Rust struct reorderings in-place, returning the modified source.
Preserves pub, pub(crate), #[serde(...)], /// doc-comments, and other
attributes verbatim; falls back to IR-based generation when source cannot be parsed.