MullerGary Profile picture
Web3 / ETH / Mfers / Member of @Tokendance
MullerGary Profile picture 1 subscribed
Jan 3, 2023 5 tweets 2 min read
#rustlang #programming
I wanna talk about some traits in std::convert and std::ops packages about Rust which contains some features about implicitly conversion like reference and structs.
Follow me to catch up updates. The first operator pair need to be talk is std::convert::{From, Into} which you may heard or used it. All is ok, I will show you what it is and how to use it well.
From trait is the most common things that you will use it Rust lang, like String::from() which you use all day.