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
Preamble(&'a str)Comment(&'a str)Variable(&'a str, &'a str)Bibliography(BibliographyEntry<'a>)Trait Implementations
impl<'a> Debug for Entry<'a>[src]
impl<'a> PartialEq for Entry<'a>[src]
fn eq(&self, __arg_0: &Entry<'a>) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &Entry<'a>) -> bool
This method tests for !=.