pub fn to_doc(&self) -> Doc<'_, BoxDoc<'_, ()>> {
        Doc::nil()
            .append(self.label.to_doc())
            .append(Doc::space())
            .append(":")
            .append(Doc::space())
            .append(self.ann.to_doc())
            .append(";")
    }
/// Convert the field into a pretty-printable document
Convert the field into a pretty-printable document
Convert the field into a pretty - printable document
pub fn to_doc(&self) -> Doc<'_, BoxDoc<'_, ()>> {
        Doc::nil()
            .append(self.label.to_doc())
            .append(Doc::space())
            .append(":")
            .append(Doc::space())
            .append(self.ann.to_doc())
            .append(";")
    }
pub fn to_doc ( & self ) -> Doc < ' _ , BoxDoc < ' _ , ( ) > > { Doc :: nil ( ) . append ( self . label . to_doc ( ) ) . append ( Doc :: space ( ) ) . append ( " " ) . append ( Doc :: space ( ) ) . append ( self . ann . to_doc ( ) ) . append ( " " ) }
Convert the field into a pretty-printable document
Convert the field into a pretty - printable document
&self