Crate scsys_derive

Source
Expand description

§scsys-derive

This crate implements the derive macros for the scsys ecosystem.

§Macros

  • Display: automatically implements the Display trait for a struct or enum, using the scsys attributes to customize the output.
  • VariantConstructors: generate functional constructors for all variants of an enum

Derive Macros§

Display
the Display macro automatically implements the Display trait for a struct or enum, using the scsys attributes to customize the output.
Get
GetMut
Getter
Set
VariantConstructors
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