Skip to content

API changes: ParticleLike trait#8

Merged
fncnt merged 11 commits into
mainfrom
particle-api
Feb 13, 2026
Merged

API changes: ParticleLike trait#8
fncnt merged 11 commits into
mainfrom
particle-api

Conversation

@fncnt
Copy link
Copy Markdown
Member

@fncnt fncnt commented Feb 13, 2026

This PR

  • renames trait Particle to ParticleLike
  • removes the (single) blanket impl of this trait
  • adds concrete trait impls that should cover the most important use cases (but also allows for new types)
  • adds a new wrapper type Particle that can be used instead of the former blanket impl

As a consequence, Cellgrid::(par_)pair_indices() was removed. This is covered more generically in the new particle API.
The Python bindings API is unchanged though.

Documentation and examples were added for the Rust API.

@fncnt fncnt merged commit 028fbe6 into main Feb 13, 2026
16 checks passed
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