Module std::default
The Default
trait for types which may have meaningful default values.
Macros
Derive macro generating an impl of the trait Default
.
Traits
A trait for giving a type a useful default value.
Functions
defaultExperimental
Return the default value of a type according to the Default
trait.
© 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