pub enum ReferenceDirective {
TargetFootnote {
class: Option<String>,
name: Option<String>,
},
Footnote,
Citation,
}Expand description
An enumeration of different reference directive types.
Variants§
TargetFootnote
§TargetFootnote
The “target-notes” directive creates a footnote for each external target in the text, and corresponding footnote references after each reference. For every explicit target (of the form, .. _target name: URL) in the text, a footnote will be generated containing the visible URL as content.
Details: https://docutils.sourceforge.io/docs/ref/rst/directives.html#target-footnotes
Footnote
§Footnote
Not implemented in docutils!
Details: https://docutils.sourceforge.io/docs/ref/rst/directives.html#footnotes
Citation
§Citation
Not implemented in docutils!
Details: https://docutils.sourceforge.io/docs/ref/rst/directives.html#citations
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ReferenceDirective
impl RefUnwindSafe for ReferenceDirective
impl Send for ReferenceDirective
impl Sync for ReferenceDirective
impl Unpin for ReferenceDirective
impl UnwindSafe for ReferenceDirective
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