Skip to main content

field_iter

Macro field_iter 

Source
macro_rules! field_iter {
    ($node:ty $(=> $from:tt)?) => { ... };
    ($node:ty $(=> $from:tt)?, [ $field:tt ]) => { ... };
    ($node:ty $(=> $from:tt)?, $field:tt) => { ... };
    ($node:ty $(=> $from:tt)?, $field:tt, $($fields:tt),+) => { ... };
}
Expand description

Internal macro for producing iterators over fields, for use in crate::impl_traverse.