pub struct MarkdownLink {
pub text: String,
pub target: String,
pub title: Option<String>,
pub line: usize,
}Expand description
A Markdown inline link.
Fields§
§text: StringThe cleaned label text.
target: StringThe destination target.
title: Option<String>The optional inline title.
line: usizeThe 1-based line where the link was found.
Trait Implementations§
Source§impl Clone for MarkdownLink
impl Clone for MarkdownLink
Source§fn clone(&self) -> MarkdownLink
fn clone(&self) -> MarkdownLink
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 MarkdownLink
impl Debug for MarkdownLink
Source§impl PartialEq for MarkdownLink
impl PartialEq for MarkdownLink
Source§fn eq(&self, other: &MarkdownLink) -> bool
fn eq(&self, other: &MarkdownLink) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for MarkdownLink
impl StructuralPartialEq for MarkdownLink
Auto Trait Implementations§
impl Freeze for MarkdownLink
impl RefUnwindSafe for MarkdownLink
impl Send for MarkdownLink
impl Sync for MarkdownLink
impl Unpin for MarkdownLink
impl UnsafeUnpin for MarkdownLink
impl UnwindSafe for MarkdownLink
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