1 2 3 4 5 6 7 8 9 10 11 12 13 14
//^ //^ THEN //^ //> THEN -> STRUCT pub struct Then; //> THEN -> IMPLEMENTATION impl Then { #[inline] pub fn ignore(self) -> () {} #[inline] pub fn none<Type>(self) -> Option<Type> {return None} }