Expand description
Concise, declarative trait implementation macros.
§#[no_std]
Where possible, these macros emit #[no_std]
-compatible code.
Macros§
- Implements
Display
for structs by forwarding to one of its field. - Implements
Error
for structs and forwards thesource
implementation to one of its fields. - Implement
AsMut
for a struct. - Implement
AsRef
for a struct. - Implement
Deref
for a struct. - Implement
DerefMut
for a struct. - Implements
Display
for enums using a static string or format args for each variant. - Implements
Error
for enums. - Implement
From
for a struct. - Implement
Into
for a struct.