Skip to main content

at

Macro at 

Source
macro_rules! at {
    ($idx:tt) => { ... };
}
Expand description

Creates a closure that selects an indexed tuple field by value.

The generated closure consumes its tuple argument and returns the selected field.