Macro kaguya_rs::fst [−][src]
macro_rules! fst { (>$($t:ty),*) => { ... }; ($x:expr) => { ... }; ($x:pat) => { ... }; }
Get the first element of [tuple
]
Syntax:
- fst!(>type,type...) :: (a,b,...) -> a
- fst!((a,b,...)|) -> a
- let x = (a,b); fst!(x) -> a