pub struct Hyperlink<D: Display> { /* private fields */ }Expand description
Hyperlink formatter
§Example
let link = anstyle_hyperlink::Hyperlink::with_url("https://docs.rs/anstyle/latest/anstyle/");
format!("Go to {link}anstyle's documentation{link:#}!");Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<D> Freeze for Hyperlink<D>where
D: Freeze,
impl<D> RefUnwindSafe for Hyperlink<D>where
D: RefUnwindSafe,
impl<D> Send for Hyperlink<D>where
D: Send,
impl<D> Sync for Hyperlink<D>where
D: Sync,
impl<D> Unpin for Hyperlink<D>where
D: Unpin,
impl<D> UnsafeUnpin for Hyperlink<D>where
D: UnsafeUnpin,
impl<D> UnwindSafe for Hyperlink<D>where
D: UnwindSafe,
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