Trait amplify::DumbDefault
source · pub trait DumbDefaultwhere
Self: Sized,{
fn dumb_default() -> Self;
}
Expand description
Used as an alternative to default for test and prototyping purposes, when a type can’t have a default value, but you need to generate some dumb data.
Required Methods
sourcefn dumb_default() -> Self
fn dumb_default() -> Self
Returns an object initialized with dumb data