Module core::default

1.0.0 · source · []
Expand description

The Default trait for types with a default value.

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.
This documentation is an old archive. Please see https://rust.docs.kernel.org instead.