Struct linkify::Link
[−]
[src]
pub struct Link<'t> { /* fields omitted */ }
A link found in the input text.
Methods
impl<'t> Link<'t>
[src]
fn start(&self) -> usize
The start index of the link within the input text.
fn end(&self) -> usize
The end index of the link.
fn as_str(&self) -> &'t str
Get the link text as a str
.
fn kind(&self) -> &LinkKind
The type of the link.