pub struct LatAnnotation {
pub path: String,
pub reference: String,
pub line: usize,
}Expand description
A @lat: backlink found in a source file: a code→lat reference carried in a
[[…]] wiki-link on a comment line.
Fields§
§path: StringRepository-relative path of the file the annotation is in.
reference: StringThe raw lat reference from the [[…]] link (e.g. auth#OAuth Flow).
line: usize1-based line number.
Trait Implementations§
Source§impl Clone for LatAnnotation
impl Clone for LatAnnotation
Source§fn clone(&self) -> LatAnnotation
fn clone(&self) -> LatAnnotation
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 LatAnnotation
impl Debug for LatAnnotation
impl Eq for LatAnnotation
Source§impl PartialEq for LatAnnotation
impl PartialEq for LatAnnotation
impl StructuralPartialEq for LatAnnotation
Auto Trait Implementations§
impl Freeze for LatAnnotation
impl RefUnwindSafe for LatAnnotation
impl Send for LatAnnotation
impl Sync for LatAnnotation
impl Unpin for LatAnnotation
impl UnsafeUnpin for LatAnnotation
impl UnwindSafe for LatAnnotation
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.