pub struct FrontmatterAnchor {
pub line: u64,
pub column: u64,
}Expand description
Source position of one entry inside a YAML frontmatter block.
Fields§
§line: u64One-based document line, counted from the document’s first line rather than from the start of the frontmatter body.
column: u64One-based byte column within that line.
Trait Implementations§
Source§impl Clone for FrontmatterAnchor
impl Clone for FrontmatterAnchor
Source§fn clone(&self) -> FrontmatterAnchor
fn clone(&self) -> FrontmatterAnchor
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 moreimpl Copy for FrontmatterAnchor
Source§impl Debug for FrontmatterAnchor
impl Debug for FrontmatterAnchor
impl Eq for FrontmatterAnchor
Source§impl Hash for FrontmatterAnchor
impl Hash for FrontmatterAnchor
Source§impl PartialEq for FrontmatterAnchor
impl PartialEq for FrontmatterAnchor
impl StructuralPartialEq for FrontmatterAnchor
Auto Trait Implementations§
impl Freeze for FrontmatterAnchor
impl RefUnwindSafe for FrontmatterAnchor
impl Send for FrontmatterAnchor
impl Sync for FrontmatterAnchor
impl Unpin for FrontmatterAnchor
impl UnsafeUnpin for FrontmatterAnchor
impl UnwindSafe for FrontmatterAnchor
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.