On this page
Module std::default
The Default
trait for types with a default value.
Traits
-
A trait for giving a type a useful default value.
Derive Macros
-
Derive macro generating an impl of the trait
Default
.
© 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/default/index.html