summaryrefslogtreecommitdiff
path: root/rustfmt.toml
diff options
context:
space:
mode:
authorseancarroll <seanc28@gmail.com>2021-01-20 21:51:57 -0600
committerseancarroll <seanc28@gmail.com>2021-01-20 21:51:57 -0600
commit7d5d439ed2f465120825c918f920bd9fbfd3169f (patch)
tree4545ef6d834d8bd5f6b0d3c860511d3ddc042984 /rustfmt.toml
parentec3468a275314f16769439736b7514b40e3b49c0 (diff)
downloaddotavious-7d5d439ed2f465120825c918f920bd9fbfd3169f.zip
Attribute Constraints
This adds some attribute constraints. We validate certain constraints based on information from http://www.graphviz.org/doc/info/attrs.html. Validation errors are collected as part of builders, we still add the attribute regardless or not if it fails validation, and build methods return ValidationResult<T> where errors is a Vec<ValidationError>. We still add attributes even if the validation fails so that users can ignore validation errors and build appropriate struct.
Diffstat (limited to 'rustfmt.toml')
0 files changed, 0 insertions, 0 deletions