#[derive(From)]
derive_from #144889)
Derive macro generating an impl of the trait From. Currently, it can only be used on single-field structs.
© 2010 The Rust Project Developers
Licensed under the Apache License, Version 2.0 or the MIT license, at your option.
https://doc.rust-lang.org/std/from/derive.From.html