pub trait IsDefault: Default {
// Required method
fn is_default(&self) -> bool;
}Expand description
Checks that type has a default value.
Required Methods§
sourcefn is_default(&self) -> bool
fn is_default(&self) -> bool
Checks that type has a default value.
Object Safety§
This trait is not object safe.