Macro get
Source macro_rules! get {
($s:expr, $t:ty) => { ... };
}
Expand description
Convenience macro to get a specific type $t
from a tuple struct $s
containing disjoint heterogeneous types
Passing a value is fine, as get
will add a reference to $t
before calling Get
.