Trait base_traits::IsDefault

source ·
pub trait IsDefault {
    // Required method
    fn is_default(&self) -> bool;
}
Expand description

Trait defining instance method is_default() : bool that allows a type instance to indicate whether it holds the “default” value.

Required Methods§

source

fn is_default(&self) -> bool

Implementors§