pub struct Link {
pub target: String,
pub absolute: bool,
pub line: usize,
}Expand description
A Markdown cross-link found in a concept body.
Fields§
§target: StringThe raw link target (the (...) of [text](target)).
absolute: boolWhether the target is bundle-relative (begins with /).
line: usize1-based line the link occurs on.
Trait Implementations§
impl Eq for Link
impl StructuralPartialEq for Link
Auto Trait Implementations§
impl Freeze for Link
impl RefUnwindSafe for Link
impl Send for Link
impl Sync for Link
impl Unpin for Link
impl UnsafeUnpin for Link
impl UnwindSafe for Link
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