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§

source

fn dumb_default() -> Self

Returns an object initialized with dumb data

Implementors§