pub struct BrokenLinkInfo {
pub reference: String,
pub span: Range<usize>,
pub link_type: LinkType,
}Expand description
Information about a broken link reported by pulldown-cmark
Fields§
§reference: StringThe reference text that couldn’t be resolved
span: Range<usize>Byte span in the source document
link_type: LinkTypeThe type of the broken link
Trait Implementations§
Source§impl Clone for BrokenLinkInfo
impl Clone for BrokenLinkInfo
Source§fn clone(&self) -> BrokenLinkInfo
fn clone(&self) -> BrokenLinkInfo
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 moreAuto Trait Implementations§
impl Freeze for BrokenLinkInfo
impl RefUnwindSafe for BrokenLinkInfo
impl Send for BrokenLinkInfo
impl Sync for BrokenLinkInfo
impl Unpin for BrokenLinkInfo
impl UnsafeUnpin for BrokenLinkInfo
impl UnwindSafe for BrokenLinkInfo
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