Skip to content
Snippets Groups Projects
Commit 8a4e3b29 authored by Georgy Moshkin's avatar Georgy Moshkin :speech_balloon:
Browse files

fix: tweak encode::Context with future backwards compatibility in mind

- All fields are private and are accessed via getter methods;
- No `Context::new` function, as there's no good set of parameters the
  users are most likely to set. Instead the builder-style methods will
  be used to set context parameters;
- `Context::style` renamed to `Context::struct_style` to avoid confusion;
- `EncodeStyle` renamed `StructStyle` to avoid confusion;
parent 650050e7
No related branches found
No related tags found
1 merge request!442fix: tweak encode::Context with future backwards compatibility in mind
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment