1 2 3 4 5 6 7 8 9 10 11
pub trait WriteMessage { fn write_message(&FrontendMessage); } trait Runnable { fn handler(); } trait TraitWithExpr { fn fn_with_expr(x: [i32; 1]); }