Enum nom_bibtex::model::StringValueType
source · pub enum StringValueType {
Str(String),
Abbreviation(String),
}Expand description
Represent a Bibtex value which is composed of
- strings value
- string variable/abbreviation which will be expanded after parsing.
Variants§
Str(String)
Just a basic string.
Abbreviation(String)
An abbreviation that should match some string variable.
Trait Implementations§
source§impl Clone for StringValueType
impl Clone for StringValueType
source§fn clone(&self) -> StringValueType
fn clone(&self) -> StringValueType
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for StringValueType
impl Debug for StringValueType
source§impl PartialEq<StringValueType> for StringValueType
impl PartialEq<StringValueType> for StringValueType
source§fn eq(&self, other: &StringValueType) -> bool
fn eq(&self, other: &StringValueType) -> bool
This method tests for
self and other values to be equal, and is used
by ==.