Module core::default

1.0.0 · source ·
Expand description

The Default trait for types with a default value.

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.

Derive Macros

  • Derive macro generating an impl of the trait Default.
This documentation is an old archive. Please see https://rust.docs.kernel.org instead.