[src]

Trait std::default::Default

pub trait Default {
    fn default() -> Self;
}

A trait that types which have a useful default value should implement.

Required Methods

fn default() -> Self

Return the "default value" for a type.

Implementors