pub trait ATrait {
// Required method
fn do_joke(&self) -> String;
}Expand description
TRAIT OF TONGUE-IN-CHEEK: This trait defines behaviors with a side-splitting twist. Implement it if you want your types to perform like a stand-up comedian.
For in-depth trait-based hilarity, see the ULTIMATE GUIDE FOR YOU TO READ.