pub struct DocsRustlang { /* private fields */ }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 copy 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 !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