Trait rust_slim::Constructor

source ·
pub trait Constructor {
    // Required method
    fn construct(args: Vec<String>) -> Self;
}
Expand description

Trait used to construct the fixture. It is auto-implemented for fixtures that also implement Default.

Required Methods§

source

fn construct(args: Vec<String>) -> Self

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<T> Constructor for T
where T: Default,