#[derive(From)]
🔬This is a nightly-only experimental API. (
derive_from
)Expand description
Derive macro generating an impl of the trait From
.
Currently, it can only be used on single-field structs.
#[derive(From)]
derive_from
)Derive macro generating an impl of the trait From
.
Currently, it can only be used on single-field structs.