Trait amplify::DumbDefault[][src]

pub trait DumbDefault where
    Self: Sized
{ fn dumb_default() -> Self; }

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

fn dumb_default() -> Self[src]

Returns an object initialized with dumb data

Loading content...

Implementors

Loading content...