pub enum EntryType<S: AsRef<str>> {
Preamble,
Comment,
Macro,
Regular(UniCase<S>),
}Expand description
Entry type, such as article in @article{....
- Case-insensitive.
- Does not contain a char in
"{}(),=\\#%\"".
Variants§
Preamble
A preamble entry type.
Comment
A comment entry type.
Macro
A string entry type.
Regular(UniCase<S>)
Any other entry type.
Implementations§
Trait Implementations§
Source§impl<S: AsRef<str>> From<Identifier<S>> for EntryType<S>
impl<S: AsRef<str>> From<Identifier<S>> for EntryType<S>
Source§fn from(Identifier: Identifier<S>) -> Self
fn from(Identifier: Identifier<S>) -> Self
Converts to this type from the input type.
Source§impl<S: PartialEq + AsRef<str>> PartialEq for EntryType<S>
impl<S: PartialEq + AsRef<str>> PartialEq for EntryType<S>
impl<S: AsRef<str>> StructuralPartialEq for EntryType<S>
Auto Trait Implementations§
impl<S> Freeze for EntryType<S>where
S: Freeze,
impl<S> RefUnwindSafe for EntryType<S>where
S: RefUnwindSafe,
impl<S> Send for EntryType<S>where
S: Send,
impl<S> Sync for EntryType<S>where
S: Sync,
impl<S> Unpin for EntryType<S>where
S: Unpin,
impl<S> UnsafeUnpin for EntryType<S>where
S: UnsafeUnpin,
impl<S> UnwindSafe for EntryType<S>where
S: UnwindSafe,
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