pub trait _ {
// Required method
fn bevy_default() -> Self;
}
Expand description
Trait used to provide default values for Bevy-external types that
do not implement Default
.
Required Methods§
Sourcefn bevy_default() -> Self
fn bevy_default() -> Self
Returns the default value for a type.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.