pub enum RawBibSource {
Path(String),
Literal(String),
}Expand description
A raw bibliography source that still needs converting.
Perl accumulates these across all \bibliography{} names and converts them
in ONE pass (MakeBibliography.pm L146-165), so an @string macro defined in
the first file is in scope for the last.
Variants§
Path(String)
A resolved path to a .bib file on disk.
Literal(String)
Literal BibTeX data, without the literal: protocol prefix.
Trait Implementations§
Source§impl Clone for RawBibSource
impl Clone for RawBibSource
Source§fn clone(&self) -> RawBibSource
fn clone(&self) -> RawBibSource
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 RawBibSource
impl Debug for RawBibSource
impl Eq for RawBibSource
Source§impl PartialEq for RawBibSource
impl PartialEq for RawBibSource
impl StructuralPartialEq for RawBibSource
Auto Trait Implementations§
impl Freeze for RawBibSource
impl RefUnwindSafe for RawBibSource
impl Send for RawBibSource
impl Sync for RawBibSource
impl Unpin for RawBibSource
impl UnsafeUnpin for RawBibSource
impl UnwindSafe for RawBibSource
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more