pub enum ParsedBlock {
Entry(usize),
String(usize),
Preamble(usize),
Comment(usize),
Failed(usize),
}Expand description
Source-order block in a parsed document.
Variants§
Entry(usize)
A regular or partial bibliography entry by parsed-entry index.
String(usize)
A string definition by parsed-string index.
Preamble(usize)
A preamble by parsed-preamble index.
Comment(usize)
A comment by parsed-comment index.
Failed(usize)
A failed block by failed-block index.
Trait Implementations§
Source§impl Clone for ParsedBlock
impl Clone for ParsedBlock
Source§fn clone(&self) -> ParsedBlock
fn clone(&self) -> ParsedBlock
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 ParsedBlock
impl Debug for ParsedBlock
Source§impl PartialEq for ParsedBlock
impl PartialEq for ParsedBlock
Source§fn eq(&self, other: &ParsedBlock) -> bool
fn eq(&self, other: &ParsedBlock) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for ParsedBlock
impl Eq for ParsedBlock
impl StructuralPartialEq for ParsedBlock
Auto Trait Implementations§
impl Freeze for ParsedBlock
impl RefUnwindSafe for ParsedBlock
impl Send for ParsedBlock
impl Sync for ParsedBlock
impl Unpin for ParsedBlock
impl UnsafeUnpin for ParsedBlock
impl UnwindSafe for ParsedBlock
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,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more