pub struct LinkPreprocessor;
Expand description
A preprocessor for expanding helpers in a chapter. Supported helpers are:
{{# include}}
- Insert an external file of any type. Include the whole file, only particular . lines, or only between the specified anchors.{{# rustdoc_include}}
- Insert an external Rust file, showing the particular lines . specified or the lines between specified anchors, and include the rest of the file behind#
. This hides the lines from initial display but shows them when the reader expands the code block and provides them to Rustdoc for testing.{{# playground}}
- Insert runnable Rust files{{# title}}
- Override <title> of a webpage.
Implementations§
Trait Implementations§
Source§impl Default for LinkPreprocessor
impl Default for LinkPreprocessor
Source§fn default() -> LinkPreprocessor
fn default() -> LinkPreprocessor
Returns the “default value” for a type. Read more
Source§impl Preprocessor for LinkPreprocessor
impl Preprocessor for LinkPreprocessor
Auto Trait Implementations§
impl Freeze for LinkPreprocessor
impl RefUnwindSafe for LinkPreprocessor
impl Send for LinkPreprocessor
impl Sync for LinkPreprocessor
impl Unpin for LinkPreprocessor
impl UnwindSafe for LinkPreprocessor
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