Trait borked::BorkWithMsg[][src]

pub trait BorkWithMsg {
    fn msg(m: &'static str) -> Box<Self>
    where
        Self: Sized + BorkChain
; }
Expand description

Trait for borks that implement a fn to make a new Bork with message dirrectly.

Required methods

This should return a new instantation of the type implementing it, and the string passed in as msg should in some way be returned by the name function in BorkChain.

Implementors