-
Notifications
You must be signed in to change notification settings - Fork 430
feat!: Add from_f32/64 methods for Float, Unit, and Bounded measures
#733
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
Conversation
|
This PR contains breaking changes to the public Rust API. cargo-semver-checks summary |
FloatMeasure methods for constructing Self from f32 & f64FloatMeasure methods for constructing Self from f32 & f64
FloatMeasure methods for constructing Self from f32 & f64FloatMeasure methods for constructing Self from f32 & f64
|
I think it would be nice to add the same methods also for But whatever my reasoning, I would like to see the opinion of colleagues and the maintainers on this matter. Nevertheless, measure types are one of the key abstractions of |
FloatMeasure methods for constructing Self from f32 & f64Float, Unit, Bounded measure's methods from_f32/f64
Float, Unit, Bounded measure's methods from_f32/f64from_f32/64 methods for Float, Unit, and Bounded measures
Add two required methods for
FloatMeasure,BoundedMeasureandUnitMeasuretraits:Motivation
This will add flexibility in programming operations with edge weights and make possible the behavior requested in issue #723.
BREAKING CHANGE:
This PR adds new required methods to the public trait