You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A question here might be what goes into the prelude? Just the traits, or traits and pixels, or everything? If everything then could we get away with rgb::* as all items are exported from the top-level (depending on the errors module being discussed in #118).
The text was updated successfully, but these errors were encountered:
Probably just traits, as otherwise it's too close to rgb::*. My thinking is that importing all traits would help migrate between versions, because you'll get the methods regardless of where they come from.
Another thing is that there's a trade-off between having one trait that contains all the methods (simple to import, easy to browse in docs), vs having many small traits with just the relevant methods. Importing almost a trait per method is burdensome. Wildcard import helps to hide the trait split a bit.
From #64:
A question here might be what goes into the prelude? Just the traits, or traits and pixels, or everything? If everything then could we get away with
rgb::*
as all items are exported from the top-level (depending on theerrors
module being discussed in #118).The text was updated successfully, but these errors were encountered: