macro_rules! capture_last {
(block $first:block) => { ... };
(expr $first:expr) => { ... };
(ident $first:ident) => { ... };
(literal $first:literal) => { ... };
(meta $first:meta) => { ... };
(pat $first:pat) => { ... };
(path $first:path) => { ... };
(tt $first:tt) => { ... };
(ty $first:ty) => { ... };
(block $first:block, $($tail:block),* $(,)?) => { ... };
(expr $first:expr, $($tail:expr),* $(,)?) => { ... };
(ident $first:ident, $($tail:ident),* $(,)?) => { ... };
(literal $first:literal, $($tail:literal),* $(,)?) => { ... };
(meta $first:meta, $($tail:meta),* $(,)?) => { ... };
(pat $first:pat, $($tail:pat),* $(,)?) => { ... };
(path $first:path, $($tail:path),* $(,)?) => { ... };
(tt $first:tt, $($tail:tt),* $(,)?) => { ... };
(ty $first:ty, $($tail:ty),* $(,)?) => { ... };
}
Expand description
Captures the last token from a list of inputs.