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

Create constructor method for unnamed quantities #28

Closed
iliekturtles opened this issue Apr 21, 2017 · 0 comments
Closed

Create constructor method for unnamed quantities #28

iliekturtles opened this issue Apr 21, 2017 · 0 comments

Comments

@iliekturtles
Copy link
Owner

Create constructor method for unnamed quantities:

/// https://en.wikipedia.org/wiki/Gravitational_constant
let G = Quantity::<ISQ<P3, N1, N2, Z0, Z0, Z0, Z0>, SI<f64>, f64>::new(6.674e-11);
iliekturtles added a commit that referenced this issue May 19, 2017
Allows library users to create `const` values and instances of non-named
quantities. This functionality will be deprecated and subsequently removed
once the `const fn` feature is stabilized. Resolves #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

No branches or pull requests

1 participant