Skip to main content

field_path

Macro field_path 

Source
macro_rules! field_path {
    ($front:ident) => { ... };
    ($front:ident $(. $rest:ident)+) => { ... };
}
Expand description

A helpful constructor for creating FieldPaths to nested struct fields of the format field_path!(x.y.z)