cairo_lang_syntax::attribute

Module consts

Source

Constantsยง

  • An attribute to allow code that would normally result in a warning.
  • An attribute to define an item as deprecated. Usage of these items will result in a warning, unless the using crate is marked with their feature active.
  • An attribute to allow usage of a feature under a statement.
  • An attribute that can be used to make the formatter ignore the formatting of a statement or an item, and keep the user defined formatting.
  • An attribute to define the order of implicit arguments.
  • An attribute to mark a function as a function that should be inlined.
  • An attribute to define an item as internal. Usage of these items will result in an error, unless the usage is marked with their feature active.
  • An attribute to define a type as a type that must be used, or a function as a function that its return value must be used.
  • An attribute to define a type as a phantom type, phantom types cannot be created at run time and are typically used for meta-programming.
  • An attribute for the declaration of a starknet interface.
  • An attribute to define an item as unstable. Usage of these items will result in a warning, unless the using crate is marked with their feature active.