Function ambient_api_core::global::default
source · pub fn default<T: Default>() -> T
Expand description
Helper function that returns the Default for the type T
.
Most useful with struct update syntax, or with initializing components.