pub struct FrontMatterLink {
pub line: usize,
pub range: Range<usize>,
}Expand description
A frontmatter value that reads as a link destination.
Fields§
§line: usize1-indexed line the destination sits on.
range: Range<usize>Byte range of the destination within its own line, with quotes and other wrapping punctuation excluded.
Trait Implementations§
Source§impl Clone for FrontMatterLink
impl Clone for FrontMatterLink
Source§fn clone(&self) -> FrontMatterLink
fn clone(&self) -> FrontMatterLink
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 FrontMatterLink
impl Debug for FrontMatterLink
impl Eq for FrontMatterLink
Source§impl PartialEq for FrontMatterLink
impl PartialEq for FrontMatterLink
impl StructuralPartialEq for FrontMatterLink
Auto Trait Implementations§
impl Freeze for FrontMatterLink
impl RefUnwindSafe for FrontMatterLink
impl Send for FrontMatterLink
impl Sync for FrontMatterLink
impl Unpin for FrontMatterLink
impl UnsafeUnpin for FrontMatterLink
impl UnwindSafe for FrontMatterLink
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.