macro_rules! struct_actions {
($Struct:ident$(::$Struct_:ident)*<{$($ty:tt)*}>) => { ... };
($Struct:ident$(::$Struct_:ident)*($($ty:tt)*)) => { ... };
}Expand description
Get actions on a struct.
For example dioxus_shareables::struct_actions!(GlobalState<{W[a] RW[b]}>) gives the correct
type for a dioxus_shareables struct with write access to field a and read-write access to
field b, and dioxus_shareables::struct_actions!(GlobalState(W[a] RW[b])) gives a
corresponding expression.