Skip to content

Add Model trait to map logical models with Rust types#63

Merged
coord-e merged 3 commits intomainfrom
coord-e/model-traits
Mar 30, 2026
Merged

Add Model trait to map logical models with Rust types#63
coord-e merged 3 commits intomainfrom
coord-e/model-traits

Conversation

@coord-e
Copy link
Copy Markdown
Owner

@coord-e coord-e commented Mar 30, 2026

for #57

Introduce Model trait and Model::Ty associated type to map Rust types to logical representation in Thrust for:

  1. Uniformly translate Rust types to logical representations in annotation-only Rust functions Pre/post-conditions annotations using Rust expressions #57
  2. Manage logical representation of std-types like Vec in std.rs (follow-up of Support some of std::vec::Vec methods #50)

@coord-e coord-e force-pushed the coord-e/model-traits branch from 8c85e03 to c77f54c Compare March 30, 2026 15:21
@coord-e coord-e changed the title Use Model trait to map logical model with Rust types Add Model trait to map logical models with Rust types Mar 30, 2026
@coord-e coord-e merged commit 6692dc2 into main Mar 30, 2026
6 checks passed
@coord-e coord-e deleted the coord-e/model-traits branch March 30, 2026 15:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant