Repository navigation
feat(api)!: the stable API's output enums and all-public structs are non_exhaustive - #903
Conversation
…very cited RE finding has a report
…rial sets, and not every element has a body
# Conflicts: # .github/workflows/ci.yml # src/lib.rs # src/research.rs
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: f25a1410ff
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
…arm, now that it is non_exhaustive
…older copy of the API docs entry
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: a1b2d0e270
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
…el's parts, the viewer's state and the encoders' inputs
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: b03a640bb3
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
… layers and GlobalIds, the glTF records, ExportContentPolicy, Sample, Warning
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: d04e205450
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
… sets (#35) (RE-210) (#934) ## Summary `rvt-ifc --revit-property-sets` writes each element's named saved parameters (RE-207) the way Revit's exporter writes them with "Export Revit property sets": one property set per parameter group, named for the group (`Dimensions`, `Identity Data`, `Materials and Finishes`, ...), with the type's parameters in such sets on its type object (RE-210). Against Revit 2025's exports of Autodesk's Snowdon Towers HVAC and Site with "Export Revit property sets", every property rvt-rs writes is in the set of the same name, on the element or type object of the same Tag, with Revit's value: 28,906 and 718, counted per element. On Snowdon Architectural, 58,346 of 58,733 are; 369 of the rest are in sets Revit names with `(Type)` on 13 type objects it does export, which follows from the order of its export, and 18 are curtain panels' type category, written before this change. Revit writes 79,907, 948 and 118,432 more, nearly all built-in parameters, which rvt-rs does not name (#255). On the BIM4LCA office as built, `FireExit` written in `Identity Data` equals Revit's `Pset_DoorCommon` and `Pset_WindowCommon.FireExit` on 498 of 498 doors and windows. This is the second slice of #35. It is opt-in, and without the option the export is unchanged. This branch is stacked on #887 (slice 1, RE-207) at `f4e3c0e`. Until #887 is merged, its commits also show here; this PR's own are the last four. ## Motivation #35 (M4-07) asks for an element's instance and type parameter values in the exports. Slice 1 (#887) read and named them for `rvt-elements` and Python. This slice writes them to IFC in the form Revit's own exporter uses for the same parameters, so an rvt-rs export can be compared with, and stand in for, a Revit export made with Revit's property sets. It serves W7 (Properties) of `docs/release-1.0-criteria.md`. The rules are read in revit-ifc's `Release_25.x.x` branch (CLEANROOM.md source 5: read and cited, no code copied): | what | revit-ifc | rvt-rs | |---|---|---| | which parameters | `ParameterUtil.CacheParametersForElement`: visible, named, by parameter id; the IFC group left out; per group one parameter per name with its spaces removed, the first | RE-207's named parameters; the IFC group left out; per group the lowest parameter id per space-free name | | instance and type | `PropertyUtil.CreateInternalRevitPropertySets`: the element's own parameters on it, the type's on its type object, or on its elements with `(Type)` added where it has none when the element's sets are made (`ElementTypeToHandleCache.IsRegistered`), so a type object created later carries `(Type)` sets too | the same, the type's through `IfcModel::type_property_sets`; a type object's sets always under the group's name | | set name | `LabelUtils.GetLabelForGroup` | Revit's English labels for the 24 groups the measured models use (`GROUP_LABELS`) | | values | Yes/No `IfcBoolean`; an integer with a spec `IfcInteger`, with none its display text; a non-empty text; a real by its spec (`CreateRealPropertyByType`); an ElementId by the display name of what it names (`AsValueString`), none for −1 | Booleans, integers with a spec, non-empty texts, lengths (length, pipe and duct size), areas, volumes, angles, numbers, air flows, HVAC and piping pressures, apparent and electrical powers, electrical potentials, currents (in SI units), material names, and family types as `<family> : <type>` (the type's name alone where both are the same, as measured); enumerations and other specs left out and counted | ## Changes - `src/ifc/revit_property_sets.rs` (new): `attach(file, model)` reads the elements' parameters with `research::native_element_parameters::read` and adds the sets; `group_label` gives a parameter's set. `property` gives its property, and since it takes research's `ElementParameter` it is public only with `unstable-research`; `attach`, `Report`, `group_label`, `GROUP_LABELS` and `TYPE_SUFFIX` are stable. - `src/ifc/mod.rs`: the module, and `IfcModel::type_property_sets` (`#[serde(default)]`), a type object's further sets by type id. - `src/ifc/entities.rs`: `PropertyValue` gains `VolumetricFlowRate`, `Pressure`, `Power`, `ElectricVoltage` and `ElectricCurrent`, in SI units, written as `IfcVolumetricFlowRateMeasure`, `IfcPressureMeasure`, `IfcPowerMeasure`, `IfcElectricVoltageMeasure` and `IfcElectricCurrentMeasure`. `src/ifc/scene_graph.rs` formats them. - `src/ifc/step_writer.rs`: a type object's sets take `type_property_sets` too, merged by set name. The `IfcUnitAssignment` declares pascal, watt, volt, ampere and m³/s when a value of that kind is written, in an element's or a type object's set, as it already declared W/(m²·K) for a thermal transmittance; that check now also looks at type objects' sets. - `src/bin/rvt_ifc.rs`: `--revit-property-sets` (not with `--placeholder`). A file whose parameters cannot be read is still exported, with a warning on stderr. - `src/ifc/from_decoded.rs`, `tests/fuzz_regressions.rs`, `tests/ifc_synthetic_structural.rs`: the new field in `IfcModel` literals. - Tests: `tests/revit_property_sets.rs` (`nordic_office_fire_exit_is_revits_in_identity_data`, `re1_mep_flows_pressures_powers_and_voltages_are_in_si_units`, which covers currents too), listed in `tools/ci/test-targets.txt` and `tests/integration/main.rs`. It reuses `tests/element_parameters.rs`' IFC value reader, now `pub(crate)`. - Probe: `examples/probe_re210_revit_property_sets.rs`. - Scorer: `tools/re/revit_property_sets_vs_ifc.py`, for an export made with the option against Revit's export with "Export Revit property sets". It compares lengths, areas, volumes and angles after each file's units, and numbers within rvt-rs's rounding to six decimals. - Report: `reports/element-framing/RE-210-revit-property-sets.md`. - Docs: - `README.md` (summary, a reads-table row, the parameters gap); - `docs/status.md` (a dated RE-210 entry); - `docs/supported-profile.md`; - `docs/support-matrix.json` (`ifc-revit-property-sets`, partial); - `CHANGELOG.md`; - a dated addendum in `docs/rvt-moat-break-reconnaissance.md`. The commits run feat → test → research → docs. ## Testing Unit tests are banned in this repository: do not add them. Show the change working end to end on real files instead. - [x] `tools/check-local.sh` passes (fmt, clippy, rustdoc, build, real-file / CLI / contract checks) - `cargo fmt --all -- --check` passes. - `cargo clippy --workspace --all-targets --all-features -- -D warnings` passes. - `cargo doc -p rvt --no-deps` passes with `RUSTDOCFLAGS='-D warnings'`. - `cargo +1.87 check --profile ci --all-targets` (the MSRV job) passes. - `RUSTFLAGS='-D warnings -D unnameable_types' cargo check --lib --bins` (CI's check that the default features hand out no research type) passes. - `tools/ci/verify-real-files.sh --profile ci --no-fail-fast` passes 252 of 252. It ran with `RVT_SAMPLES_DIR` (phi-ag's Autodesk families), `RVT_PROJECT_CORPUS_DIR` (magnetar `fd755e1` with RE1 and `r2025/`) and `RVT_NORDIC_LCA_DIR` set, so both new tests ran rather than skipped. - [x] Verified end to end on real Revit files: the command, the files (and their licence), and the measured result against Revit's own export are in the PR body, with the script or probe that reproduces it - The command is `rvt-ifc MODEL.rvt -o ours.ifc --revit-property-sets`. The probe `probe_re210_revit_property_sets MODEL.rvt` prints what it adds, per set, and what it leaves out, by reason. - **Against Revit's own sets.** Autodesk's Snowdon Towers Sample HVAC, Site and Architectural, 2025 edition (sha256 `a1756cfd…31bfe`, `43140cd8…c1ff8`, `8ac90a85…0d334`), exported by Revit 2025.4 to IFC4X3 with "Export Revit property sets" ticked. The files are Autodesk's; they were measured locally and are not committed, as in `reports/validation/held-out-snowdon-mep-2026-09-27.md`. Command: `python tools/re/revit_property_sets_vs_ifc.py ours.ifc REVIT.ifc`. | level | sets | written by rvt-rs | equal to Revit's | Revit's, not written by rvt-rs | |---|---|---:|---:|---:| | element | Dimensions, Mechanical - Flow, Other | 14,445 | 14,445 | 26,771 | | element | Constraints, Graphics, Identity Data, Insulation, Lining, Mechanical, Phasing | 0 | — | 45,181 | | type object | Constraints, Dimensions, Electrical - Loads, Electrical Engineering, Identity Data, Mechanical, Mechanical - Flow, Model Properties, Other, Text | 14,461 | 14,461 | 7,955 | | | **total** | **28,906** | **28,906** | **79,907** | - HVAC, in the table. The counts are per element: a type object's property counts once for each element of the type. They include the Category, Family and Type values rvt-rs already wrote in `Other`. The option itself adds 5,772 properties on 1,469 elements and 17 type objects (the probe). - No property is written in a set where Revit's export lacks it, and none differs. So the group labels, the set each parameter lands in, the split between element and type object, and the values are Revit's on this model. - Two scorer fixes came first. Revit's export declares degrees, so angles are compared after each file's angle unit. rvt-rs writes six decimals, so numbers are compared within that rounding. Before them, 4,281 values counted as differing, all for those two reasons (`measure/` in the package). - The model also showed what was left out: 1,055 air flows, pressures, powers and voltages, and the group Electrical Engineering. They are now written, and all equal Revit's. - Revit's 79,907 more are built-in parameters, such as System Name, Phase Created, Size, Flow, the elevations, Family and Type, Mark and OmniClass, and two family parameters (`OffsetWidth`, `OffsetHeight`, 43 each) that are not among those rvt-rs reads on those duct transitions. - rvt-rs exports 2,596 of Revit's 2,627 elements; the other 31 are flex ducts, which rvt-rs does not export. - **Site** (walls, floors, railings, generic models): 718 of 718 equal, counted the same way; the parameters add 8 properties on 2 type objects. Revit writes 948 more, all built-ins (Phase Created, Area, Type Mark, constraints, construction, analytical properties). - Revit writes one floor as five `IfcSlab`s of one Tag, so the scorer now takes all products of a Tag together. Before that, 5 of that floor's properties counted as not written by Revit. - The Site export writes `(Type)` sets on 12 sites, 3 storeys and 5 openings, which confirms the suffix in a Revit 2025 English export. rvt-rs exports none of those as elements. - **Architectural** (doors, windows, stairs, curtain walls, furniture, lighting): 58,346 of 58,733 equal, counted the same way; the option adds 5,885 properties on 1,068 elements and 169 type objects. Revit writes 118,432 more. - 369 are in sets Revit names `Other(Type)`, `Identity Data(Type)` and so on, on 13 of the 1,286 type objects with its sets: 5 of 8 curtain wall types, 7 generic model type objects and 1 wall type. revit-ifc decides the suffix when an element's sets are made, by whether the type's type object exists yet (`ElementTypeToHandleCache.IsRegistered`), and keeps those sets for the type object. Which types are hit follows from the order of Revit's export, which the file does not record, so rvt-rs writes the group's name. 66 of the 369 are this slice's; 303 are the Category, Family Name and Type Name written before. - 18 are the type Category of curtain panels of a basic wall type: Revit exports them as `IfcPlate`s whose type says `Walls`, rvt-rs as curtain walls whose type took the panel's `Curtain Panels`. That value was written before this change. - The model showed 337 values left out, all now written and equal to Revit's: the groups Photometrics and Plumbing (the latter with 10 piping pressures), 42 currents, and 198 family type values. A family type is `<family> : <type>`, except the 34 whose family and type have the same name, written by the type's name (`Muntin Pattern_2x2`). - Of Revit's 118,432 more, 186 are parameters rvt-rs names: 66 written under the group's name as above, 117 `Family Thumbnail` (the name of the type's preview image, which rvt-rs does not name) and 3 family types rvt-rs does not name. The rest are built-ins. - **Against the local exports' common sets.** Revit's other exports at hand were made with the common property sets only. Where one also writes a property of the same name on the same element (by Tag, in any set), the values were compared: | model (licence) | properties added (per element, with its type object's) | same name in Revit's export | equal | |---|---:|---:|---:| | BIM4LCA office, as built (VTT, CC BY-SA 4.0) | 24,366 | 498 | 498 | | R2025 model 12 (puzzbobb, Apache-2.0, #356), RE1 Architecture, Core Interior, BIM4LCA housing on terrain | 1,979 | 0 | — | - The 498 are the Yes/No `FireExit` of 266 doors and 232 windows: rvt-rs writes it in `Identity Data` and Revit's export in `Pset_DoorCommon` and `Pset_WindowCommon`, both as `IfcBoolean`. `tests/revit_property_sets.rs` asserts them, and fails, 498 of 498, when the sets are not attached. - Every value written is one of RE-207's, which equal Revit's wherever its exports show them (#887: 7,606 of 7,606 on the office as built). - What is written, over 15 models (R2025 12 to 17, the four RE1 models, Core Interior, the BIM4LCA housing and office ×2): 32,812 properties on 4,995 elements and 283 type objects. Of the named parameters left out, 9,920 are empty texts and 2,425 ElementIds of −1, which Revit leaves out too; 324 are in the IFC group; 408 are ElementIds rvt-rs cannot name; 62 are reals of other specs (electrical frequency, demand factor and luminous intensity, HVAC temperature, currency). - The RE1 MEP models' 56 flows, pressures, powers, voltages and currents have no Revit export with these sets. `tests/revit_property_sets.rs` checks that each unit is declared where its values are written and that every voltage is nominal (120, 208 or 240 V). With the units not declared it fails: "RE1-Electrical: 17 values of IFCPOWERMEASURE, no POWERUNIT declared". - IfcOpenShell 0.9.0's validator finds no issue in the exports of R2025 model 12, RE1 Architecture and the housing on terrain made with the option, nor in RE1 Mechanical's and RE1 Electrical's, which between them declare all five new units. - **What is not measured:** no Snowdon model has an element that rvt-rs exports whose type lacks a type object. The RE1 MEP models' currents and R2025 models 12 to 17's family type values are written as on Snowdon Architectural, but have no Revit export with these sets. - One rule was checked against a public Revit export with Revit's property sets: web-ifc's test file `ISSUE_159_kleine_Wohnung_R22.ifc` (German Revit 2022) names a type's sets on its elements `ID-Daten(Type)`, `Sonstige(Type)`, …, so the `(Type)` suffix is not translated. - [x] If this touches the IFC exporter: the witness verdicts replay (see CONTRIBUTING.md) or the changed observations are refreshed in this PR - Without the option the exporter writes the same file as #887's head (`f4e3c0e`), apart from its timestamps, on all 17 models measured: R2025 12 to 17, the four RE1 models, Core Interior, the three BIM4LCA models and Snowdon HVAC, Site and Architectural. The witness tests in `verify-real-files.sh` pass. - [x] If this is a performance change: reran `tools/bench.sh` and attached the before / after - This is not a performance change, and without the option nothing is read. With it, reading the parameters costs time. `tools/bench.sh` times only family files, so `rvt-ifc` was timed with hyperfine (`-N --warmup 1 --runs 3`): | model | `rvt-ifc` (s) | with `--revit-property-sets` (s) | ratio | |---|---:|---:|---:| | Core Interior | 6.785 ± 0.027 | 7.809 ± 0.015 | 1.15 | | BIM4LCA office, as built | 24.262 ± 0.027 | 34.036 ± 0.206 | 1.40 | ## Audit-honesty checklist - [x] README / docs reflect the current state after this PR — no claims of features that are not actually shipped in this PR - The README's summary, its reads table (a new "Revit's own property sets" row) and its parameters gap row are updated, as are `docs/status.md`, `docs/supported-profile.md`, `docs/support-matrix.json` (`ifc-revit-property-sets`, partial) and `CHANGELOG.md`. - Each gives the Snowdon HVAC measurement against Revit's own sets, counted per element, and says the file is measured locally and not committed; all but `docs/supported-profile.md` give Architectural's too. The report adds Site. - [x] If a limitation was resolved, the "Known limitations" / "What works today" section in the relevant docs is updated - The README's parameters gap row now says `--revit-property-sets` writes the parameters to IFC, and what it does not write. - [x] If a new limitation was introduced, it is documented in the PR body and in-code - With the option, `rvt-ifc` is 1.15 to 1.40 times slower on the models timed (report §8). - Not written: built-in parameters (no name, #255), enumerations, other specs, ElementIds naming what rvt-rs cannot name, and `(Type)` names on type objects Revit exports. The sets keep rvt-rs's own GlobalIds, not Revit's hashed ones (report §7). - These are in `src/ifc/revit_property_sets.rs`' module doc and the report. - [x] Commit messages describe WHAT changed and WHY, not "fix things" or "updates" - The four commits are Conventional Commits, each naming #35 and RE-210. - [x] No emojis in code, docs, or commit messages - [x] No private paths, personal email addresses, or internal jargon in committed files - The test and probe take their paths from `RVT_NORDIC_LCA_DIR` or arguments. - The commits are authored and committed with GitHub's noreply address, and signed. - [x] If this is a reverse-engineering finding: a reproducible probe under `examples/` and a dated addendum to `docs/rvt-moat-break-reconnaissance.md` are included - The probe is `examples/probe_re210_revit_property_sets.rs`, and the report is `reports/element-framing/RE-210-revit-property-sets.md`. - The addendum is dated 2026-10-22. ## Legal and contribution hygiene - [x] I agree this work is licensable under Apache-2.0 (see `CONTRIBUTING.md`) - [x] This PR contains no Autodesk proprietary source, decompiled internals, or NDA'd SDK content (see `CLEANROOM.md`) - The exporter's rules come from revit-ifc (LGPL), CLEANROOM.md source 5: read and cited by class and method, no code copied. The group labels are Revit's English UI labels. - [x] Any new test fixtures use synthetic values (`testuser`, `111111`, `FY-20XX`, etc.) and contain no real-world PII - There are no new fixtures. The test reads the BIM4LCA office (CC BY-SA 4.0, fetched by CI). ## Breaking changes BREAKING CHANGE: `IfcModel` gains a public field, `type_property_sets`. Code that builds an `IfcModel` with a struct literal needs `type_property_sets: Default::default()`, as five sites in this repository did. It deserialises as empty when absent. `PropertyValue` gains five variants (`VolumetricFlowRate`, `Pressure`, `Power`, `ElectricVoltage`, `ElectricCurrent`); since #903 made it `non_exhaustive`, that is not breaking. The option is new and off by default; without it the IFC output is unchanged. ## Screenshots or output samples R2025 model 12, `rvt-ifc --revit-property-sets`, window 12538 (`Window-Fixed:24" x 36"`), its Revit sets and its type object's: ```text window Other: Category=IfcLabel('Windows'), Family=..., Type Id=IfcLabel('12499'), Frame Extension=IfcLengthMeasure(0.00635) window Construction: Window Inset=IfcLengthMeasure(0.0) window Dimensions: Interior Wall Closure=IfcLengthMeasure(0.05715), Exterior Wall Closure=IfcLengthMeasure(0.03175) window Graphics: Exterior Trim Visibility=IfcBoolean(True), Interior Trim Visibility=IfcBoolean(True) type object IfcWindowType Window-Fixed:24" x 36" type Other: Category=IfcLabel('Windows'), Family Name=IfcText('Window-Fixed'), Default Sill Height=IfcLengthMeasure(0.9144) type Identity Data: Type Name=IfcText('24" x 36"'), Fire Rating=IfcText('0.5h') type Graphics: Muntin Visibility=IfcBoolean(True) type Construction: Muntin Pattern=IfcLabel('Muntin Pattern_2x2'), Exterior Trim=IfcLabel('Trim-Window-Exterior-Flat : with Sill'), Interior Trim=IfcLabel('Trim-Window-Interior-Flat : Picture Frame') type Materials and Finishes: Interior Frame Material=IfcLabel('Wood - Stained'), Exterior Frame Material=IfcLabel('Clad - White'), Glass Panel Material=IfcLabel('Glass'), Exterior Trim Material=IfcLabel('Clad - White'), Interior Trim Material=IfcLabel('Wood - Stained') ``` `rvt-ifc` reports on stderr: ```text rvt-ifc: Revit property sets on 13 elements and 5 types, and type sets on 0 elements of types with no type object (87 properties, 0 named parameters left out) ``` ## Related issues - Refs #35: the second slice (IFC). Built-in parameter names, enumerations' display texts, a family's built-in slots, system-family type parameters, Revit's set GlobalIds and the viewer's Parameters row remain. - Depends on #887 (slice 1, RE-207). Refs #255 (the built-in catalog), RE-194 (parameters named for a property set's property), #356 (the R2025 models), and W7 of `docs/release-1.0-criteria.md`. --------- Co-authored-by: Griffin Long <[email protected]>
Summary
Marks the stable API's output types
#[non_exhaustive]: the 62 public enums of the 27 stable modules, and the 136 public structs, all of whose fields are public, that only rvt-rs produces. After 1.0, adding a variant or a field is then a minor release instead of a breaking one.Motivation
The 2026-10-23 style audit (Google's style guide:
#[non_exhaustive]on public enums and on structs with public fields; Rust API Guidelines C-STRUCT-PRIVATE): 0 of 77 public enums and 0 of 355 all-public structs were marked. #890 made the stable surface a promise for 1.0, so this belongs before it.What stays exhaustive
33 structs that code outside the crate builds with a struct literal (found by scanning
tests/,examples/,benches/,src/bin/,rvt-py,rvt-wasm,tools/stream_evidenceandfuzz):OpenLimits,WalkerLimits,InflateLimits,CsvOptions,StepOptions,SheetOptions,BuilderOptions), so..Default::default()keeps working;from_decodedbridge's inputs (ElementInput,Storey,MaterialInfo,Property,PropertySet,Extrusion,Classification, ...) andwriter::StreamPatch;DecodedElement,IfcModel,Wall,WallType,Level,Window,Railing,ClassEntry,FieldEntry,SchemaTable,Decoded,Primitive,ElemTableLayout).And, after review found that a non-exhaustive struct with neither
Defaultnor a public constructor cannot be built outside the crate at all, the 39 structs callers assemble to use the API, found by reachability (every struct reachable through the fields ofIfcModel, ofIfcEntity's variants and ofGltfDocument, and every struct a public function takes that nothing in the crate returns):IfcModel's parts (MaterialLayer,MaterialLayerSet,MaterialLayerSetUsage,MaterialConstituentSet,OpeningCut,ElementLayers,LayerBand,RevitGlobalIds);write_glbwrites (GltfDocument,Asset,Scene,Node,NodeExtras,Mesh,Material,PbrMetallicRoughness,Buffer,BufferView,Accessor);Point3,Vector3,Transform3,CurveLoop,Mesh,PointCloud,BoundingBox);CameraState,ClippingPlane,SectionBox,ViewerState,CategoryFilter);BasicFileInfo,FileProperty,PartAtom,Taxonomy,Category);ExportContentPolicy,corpus::Sampleandparse_mode::Warning.Erroris handled in #898.Changes
src/: the attribute (script, then rustfmt).rvt-inspect(FormatsIntegrityStatus,ChecksumTailStripping),rvt-elem-table(RecordFraming),rvt-doc,rvt-elementsandrvt-py(InstanceField, reported as kindunknown), and three probes (FieldType,InstanceField).CHANGELOG.md.Depends on #896 (stacked on it so the attributes sit beside its
// Tracker:lines without conflicts); until #896 merges, this diff includes it.Testing
No unit tests (banned). Within the crate the attribute changes nothing; outside it, CI compiles every target (bins, tests, examples, benches, rvt-py, rvt-wasm) and the fuzz workflow compiles the fuzz targets. No output changes, so Measure is not needed.
gh workflow run fuzz.yml --ref feat/non-exhaustive-outputsBreaking changes
matchon the stable enums needs_ =>; the marked structs cannot be built with a literal outside the crate (they are all produced by the crate's own functions).Audit-honesty checklist
Legal and contribution hygiene
Screenshots or output samples
N/A.