Module macros
Source - __item π
- c_enum π
- Represent a C enum as Rust constants and a type.
- cfg_if π
- A macro for defining #cfg if-else statements.
- deprecated_mach π
- e π
- Implement
Clone and Copy for an enum, as well as Debug, Eq, Hash, and
PartialEq if the extra_traits feature is enabled. - f π
- Define a
unsafe function. - missing π
- Specify that an enum should have no traits that arenβt specified in the macro
invocation, i.e. no
Clone or Copy. - prelude π
- Create an internal crate prelude with
core reexports and common types. - s π
- Implement
Clone and Copy for a struct, as well as Debug, Eq, Hash, and
PartialEq if the extra_traits feature is enabled. - s_no_extra_traits π
- Implement
Clone, Copy, and Debug since those can be derived, but exclude PartialEq,
Eq, and Hash. - s_paren π
- Implement
Clone and Copy for a tuple struct, as well as Debug, Eq, Hash,
and PartialEq if the extra_traits feature is enabled. - safe_f π
- Define a safe function.