pub struct Docsrs { /* private fields */ }Implementations§
Trait Implementations§
Source§impl LinkTransformer for Docsrs
impl LinkTransformer for Docsrs
Source§fn apply(&self, link: &mut Link<'_>) -> Result<()>
fn apply(&self, link: &mut Link<'_>) -> Result<()>
Access the constructed page, then get its html title.
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 Docsrs
impl !RefUnwindSafe for Docsrs
impl Send for Docsrs
impl Sync for Docsrs
impl Unpin for Docsrs
impl !UnwindSafe for Docsrs
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