Adding #[derive(From)] to Rust

TL;DR: #[derive(From)] can be used in nightly now. See here on how to use it. You can follow this tracking issue for more updates.

添加评论
点赞收藏
点踩分享查看原文
评论
?
参与讨论