macro_rules! get {
(fn($input:ident: &mut $ity:ty) -> $oty:ty { $($v:tt)+ }) => { ... };
(fn<$a:lifetime>($input:ident: &mut $ity:ty) -> $oty:ty { $($v:tt)+ }) => { ... };
}Expand description
A macro for quickly implementing crate::GetFut without capturing.
If you need capturing, you will have to manually capture what you want in a user-defined struct
and implement crate::GetFut for that struct.