Expand description
Derive macros for le-stream.
The macros implement le_stream::FromLeStream and
le_stream::ToLeStream for structs and explicitly represented enums.
Struct fields are encoded in declaration order. Enum variants require
#[repr(T)] and an explicit discriminant on every variant; the discriminant
is encoded as T, followed by the byte representation of any associated
fields.
Derive Macrosยง
- From
LeStream - Derives
le_stream::FromLeStreamfor a struct or represented enum. - ToLe
Stream - Derives
le_stream::ToLeStreamfor a struct or represented enum.