Skip to content

Tag Archives: Rust traits

Drop trait lets us customize what happens when a value is about to go out of scope. Drop trait is important to the smart pointer… Read More
A trait tells the Rust compiler about functionality a particular type has and can share with other types. Traits are an abstract definition of shared… Read More