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 ==
.impl Eq for StringValueType
impl StructuralEq for StringValueType
impl StructuralPartialEq for StringValueType
Auto Trait Implementations§
impl RefUnwindSafe for StringValueType
impl Send for StringValueType
impl Sync for StringValueType
impl Unpin for StringValueType
impl UnwindSafe for StringValueType
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more