scsys_traits/
toggle.rs

1/*
2    Appellation: toggle <module>
3    Contrib: FL03 <jo3mccain@icloud.com>
4*/
5
6/// Typically, [TypeTag] is used for uninitaliziable `enums` with no variants
7pub trait TypeTag: 'static {}
8
9#[doc(hidden)]
10pub trait Context {
11    type Elem;
12}
13
14/*
15 ************* Implementations *************
16*/
17
18impl dyn TypeTag {}
19
20impl<T> dyn Context<Elem = T> {}