Trait datastruct::DataStruct
source · pub trait DataStruct {
// Required method
fn data_default() -> Self;
}
Expand description
The macro’s default
option will implement this trait for the structure.
Required Methods§
sourcefn data_default() -> Self
fn data_default() -> Self
Returns the default value of the structure.
Object Safety§
This trait is not object safe.