Module std::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.