Enum nom_bibtex::Entry [] [src]

pub enum Entry<'a> {
    Preamble(&'a str),
    Comment(&'a str),
    Variable(&'a str, &'a str),
    Bibliography(BibliographyEntry<'a>),
}

Describe an entry in the bibtex file. We can have 4 types of entries:

  • A comment.
  • A preamble is a comment which will be kept in the generated Bibtex file.
  • A string variable.
  • A bibliograpy entry.

More information can be found here

Variants

Trait Implementations

impl<'a> Debug for Entry<'a>
[src]

Formats the value using the given formatter.

impl<'a> PartialEq for Entry<'a>
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl<'a> Eq for Entry<'a>
[src]