Expand description
§scsys-derive
This crate implements the derive macros for the scsys ecosystem.
§Macros
Display: automatically implements theDisplaytrait for a struct or enum, using thescsysattributes to customize the output.VariantConstructors: generate functional constructors for all variants of an enum
Derive Macros§
- Display
- the
Displaymacro automatically implements theDisplaytrait for a struct or enum, using thescsysattributes to customize the output. - Get
- GetMut
- Getter
- Set
- Variant
Constructors - This macro automatically generates functional constructors for all enclosed variants.
- With
- Wrapper
- The
Wrappermacro is designed for single-field structs, implementing additional methods supporting interactions with the inner value