pub enum NoteStream {
Footnote,
Endnote,
}Expand description
Which stream a note reference belongs to.
A reference carries only a number in the markup, and the two streams number independently, so a document can hold a footnote and an endnote that share a number. Without the stream the two are indistinguishable and one silently shadows the other.
Variants§
Footnote
Rendered at the foot of the page carrying the reference.
Endnote
Rendered at the end of the document.
Trait Implementations§
Source§impl Clone for NoteStream
impl Clone for NoteStream
Source§fn clone(&self) -> NoteStream
fn clone(&self) -> NoteStream
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 moreimpl Copy for NoteStream
Source§impl Debug for NoteStream
impl Debug for NoteStream
impl Eq for NoteStream
Source§impl Hash for NoteStream
impl Hash for NoteStream
Source§impl PartialEq for NoteStream
impl PartialEq for NoteStream
impl StructuralPartialEq for NoteStream
Auto Trait Implementations§
impl Freeze for NoteStream
impl RefUnwindSafe for NoteStream
impl Send for NoteStream
impl Sync for NoteStream
impl Unpin for NoteStream
impl UnsafeUnpin for NoteStream
impl UnwindSafe for NoteStream
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