pub struct Autolink {
pub meta: NodeMeta,
pub destination: String,
pub kind: AutolinkKind,
}Expand description
An autolink: <url> or a GFM bare URL.
Fields§
§meta: NodeMetaNode metadata (source span).
destination: StringThe resolved link href.
kind: AutolinkKindWhether the link was angle-bracketed or a GFM literal.
Trait Implementations§
impl Eq for Autolink
impl StructuralPartialEq for Autolink
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