macro_rules! field {
($t:ty, $f:ident) => { ... };
}Expand description
Field ident of struct T as files write it: field!(BlockProps, tool_level)
→ "tool_level". A field T hasn’t got doesn’t compile.
macro_rules! field {
($t:ty, $f:ident) => { ... };
}Field ident of struct T as files write it: field!(BlockProps, tool_level)
→ "tool_level". A field T hasn’t got doesn’t compile.