Struct nom_bibtex::Bibtex
[−]
[src]
pub struct Bibtex<'a> { /* fields omitted */ }A high-level definition of a bibtex file that contains multiples entries.
Methods
impl<'a> Bibtex<'a>[src]
fn new(entries: Vec<Entry<'a>>) -> Self
fn parse(bibtex: &'a str) -> Result<Self, ParsingError>
Create a new Bibtex instance from a BibTeX file content.
fn entries(&self) -> &Vec<Entry>
Get all the BibTeX entries.
Trait Implementations
impl<'a> Debug for Bibtex<'a>[src]
impl<'a> PartialEq for Bibtex<'a>[src]
fn eq(&self, __arg_0: &Bibtex<'a>) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &Bibtex<'a>) -> bool
This method tests for !=.