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