pub struct DocsRustlang;Implementations§
Source§impl DocsRustlang
impl DocsRustlang
Trait Implementations§
Source§impl Clone for DocsRustlang
impl Clone for DocsRustlang
Source§fn clone(&self) -> DocsRustlang
fn clone(&self) -> DocsRustlang
Returns a duplicate of the value. Read more
1.0.0 · 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 DocsRustlang
impl Debug for DocsRustlang
Source§impl Default for DocsRustlang
impl Default for DocsRustlang
Source§fn default() -> DocsRustlang
fn default() -> DocsRustlang
Returns the “default value” for a type. Read more
Source§impl LinkTransformer for DocsRustlang
impl LinkTransformer for DocsRustlang
Source§fn apply(&self, link: &mut Link<'_>) -> Result<()>
fn apply(&self, link: &mut Link<'_>) -> Result<()>
Generate a barebones rust project with our input text in a doc comment, run rustdoc on it, parse out the result link from the generated html.
Source§fn tag(&self) -> String
fn tag(&self) -> String
Text on which the link transformer can operate shall start with this string.
Source§fn pattern(&self) -> Regex
fn pattern(&self) -> Regex
Regex which will be applied to extract the salient part of the link destination.
fn strip_tag(&self) -> bool
Auto Trait Implementations§
impl Freeze for DocsRustlang
impl RefUnwindSafe for DocsRustlang
impl Send for DocsRustlang
impl Sync for DocsRustlang
impl Unpin for DocsRustlang
impl UnwindSafe for DocsRustlang
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