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

Document randomizable types #121

Open
4 tasks
sunjay opened this issue Apr 24, 2019 · 0 comments
Open
4 tasks

Document randomizable types #121

sunjay opened this issue Apr 24, 2019 · 0 comments

Comments

@sunjay
Copy link
Owner

sunjay commented Apr 24, 2019

For every type that can be randomized (Color, Point, Speed, etc.) we should add a section Generating Random X that documents how to use random() and random_range() to generate values of that type.

  • Behaviour of random() and random_range() for each type
  • Examples of using each
  • Examples of the different bounds types supported by each (most of them implement RandomRange<B> with B: Into<X>)
  • Do this for the scalar types too (Distance, etc.)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant