Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add is_full and is_empty helper methods to Pool trait #28

Closed
alice-i-cecile opened this issue Mar 23, 2023 · 0 comments
Closed

Add is_full and is_empty helper methods to Pool trait #28

alice-i-cecile opened this issue Mar 23, 2023 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@alice-i-cecile
Copy link
Contributor

This is a common check, and these should be able to be automatically generated.

@alice-i-cecile alice-i-cecile added enhancement New feature or request good first issue Good for newcomers labels Mar 23, 2023
alice-i-cecile added a commit that referenced this issue Aug 29, 2023
alice-i-cecile added a commit that referenced this issue Aug 29, 2023
…rait (#35)

* Remove Pool::new and friends

* Update release notes

* Rename Pool::ZERO to Pool::MIN

Fixes Rename `ResourcePool::ZERO` to `MIN_LIMIT` #15

* Credit contributor in release notes for unrelated fix

* Split Pool trait into Pool + RegeneratingPool

* Add is_empty and is_full to Pool trait

Fixes #28.

* Improve docs for Pool::replenish

* Add impls for Add, Sub, AddAssign and SubAssign

Fixes #22

* Add / sub impls

* Add the Display trait

Fixes #21.

* Implement Life/Life -> f32 Div trait

* Update src/ability_state.rs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant