pub unsafe trait Platform {
type R: CryptoRng + RngCore;
type S: Store;
type UI: UserInterface;
fn rng(&mut self) -> &mut Self::R;
fn store(&self) -> Self::S;
fn user_interface(&mut self) -> &mut Self::UI;
}
pub unsafe trait Platform {
type R: CryptoRng + RngCore;
type S: Store;
type UI: UserInterface;
fn rng(&mut self) -> &mut Self::R;
fn store(&self) -> Self::S;
fn user_interface(&mut self) -> &mut Self::UI;
}