W3cubDocs

/Rust

Module std::default

The Default trait for types which may have meaningful default values.

Macros

Default

Derive macro generating an impl of the trait Default.

Traits

Default

A trait for giving a type a useful default value.

Functions

default Experimental

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