pub struct Autolink {
pub span: Span,
pub email: bool,
}Expand description
<https://example.com> / <user@example.com>.
Fields§
§span: Span§email: boolEmail autolinks render with an implied mailto: that must not leak into output.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Autolink
impl RefUnwindSafe for Autolink
impl Send for Autolink
impl Sync for Autolink
impl Unpin for Autolink
impl UnsafeUnpin for Autolink
impl UnwindSafe for Autolink
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