[][src]Macro nextcloud_passwords_client::macro_on_settings

macro_rules! macro_on_settings {
    ($dol callback:ident ($dol ($dol args:tt)*)) => { ... };
}

takes a macro with the signature callback!($variant_name:ident; $type:ty; $field_name:ident; $setting_string:expr => $(arg:tt)*) and expands it for each of the settings (client not included).

You need to prefix by expr if an expr is generated, and item if an item is generated example call: macro_on_settings!(callback(...args)). Notice that there is no !