I have a struct that holds a seedable RNG, like so:
RngCont<ChaCha8>
I pass it as a parameter to several methods, and I'd like to not have to identify the seedable RNG every time. I'd rather pass around something that aliases this type; naively something like:
type ProgRng = RngCont<ChaCha8>;
And just use ProgRng everywhere. Am I missing something obvious? Should I be using a new type for this?
Thanks @2e71828 and @RustyYato for your quick answers; I've marked Rusty as the Solution, but I'm now aware that a default value is possible, which is cool.
I was sure I tried that last night; lesson learned, no more programming after the kids go to bed!