Skip to main content

except

Macro except 

Source
macro_rules! except {
    () => { ... };
    (all) => { ... };
    ($id0:path $(| $id:path $(|)?)*) => { ... };
}
Expand description

Re-export the rs-matter crate A macro that generates an “except” fn for matching attributes and commands

Usage:

  • except!() - returns true for all attributes and commands
  • except!(all) - returns false for all attributes and commands
  • except!(attr_or_cmd1, attr_or_cmd2, ...) - returns true for all but the specified attributes or commands