pub fn fmt(&self, fmt: &mut Formatter<'_>) -> fmt::Result {
        write!(fmt, "match {}", self.name)?;

        fmt.block(|fmt| {
            for (branch, body) in self.branches.iter() {
                write!(fmt, "{} =>", branch)?;
                body.fmt(fmt)?;
            }

            Ok(())
        })?;

        Ok(())
    }
/// Formats the struct using the given formatter.
Formats the struct using the given formatter.
Formats the struct using the given formatter .
pub fn fmt(&self, fmt: &mut Formatter<'_>) -> fmt::Result {
        write!(fmt, "match {}", self.name)?;
        fmt.block(|fmt| {
            for (branch, body) in self.branches.iter() {
                write!(fmt, "{} =>", branch)?;
                body.fmt(fmt)?;
            }
            Ok(())
        })?;
        Ok(())
    }
pub fn fmt ( & self , fmt : & mut Formatter < ' _ > ) -> fmt :: Result { write ! ( fmt " " self name ) ? ; fmt . block ( | fmt | { for ( branch , body ) in self . branches . iter ( ) { write ! ( fmt " " branch ) ? ; body . fmt ( fmt ) ? ; } Ok ( ( ) ) } ) ? ; Ok ( ( ) ) }
Formats the struct using the given formatter.
Formats the struct using the given formatter .
&self
fmt
&mut Formatter<'_>