xso: allow FromXml implementations to provide matching hints
That way, callers can put multiple candidate implementations in, for example, a sorted vector and more efficiently select candidates to try when looking at a new element.
This commit is contained in:
parent
d7b62488dc
commit
126588b47d
3 changed files with 110 additions and 22 deletions
|
|
@ -54,6 +54,9 @@ Version NEXT:
|
|||
`AsXmlText` and `FromXmlText` implementations based on the standard
|
||||
library's `Display` and `FromStr` traits.
|
||||
- `AsXmlDyn`, a dyn-compatible variant of `AsXml` (!573).
|
||||
- `FromXml::xml_name_matcher()` and related types, which allow `FromXml`
|
||||
implementors to provide cachable hints to callers about which XML
|
||||
elements are valid candidates for parsing (!573).
|
||||
* Changes
|
||||
- Generated AsXml iterator and FromXml builder types are now
|
||||
doc(hidden), to not clutter hand-written documentation with auto
|
||||
|
|
|
|||
Loading…
Reference in a new issue