Expand description
A shorter way to write default. Provide :
___()as a shorthand forDefault::default()i32::___()instead ofi32::default()
Based on the internals Rust discussion
Also check the Defaults crate which use default() instead of Default::default()
Traits§
- Default
IsTriple Underscore - Uniform syntax :
MyStruct::___()instead ofMyStruct::default()
Functions§
- ___
___()is a shorthand forDefault::default()