snippet disp "Display trait implentation" impl fmt::Display for ${1:Struct} { fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { write!(f, "${2}", ${3}) } }${0} endsnippet