pub struct EdgeDescriptor {
pub src_block: Option<String>,
pub src_field: Option<String>,
pub predicate: String,
pub dst_kind: DstKind,
pub target: String,
pub anchor: Option<String>,
pub provenance: Provenance,
}Expand description
An extracted edge before resolution (§3.1).
Fields§
§src_block: Option<String>None for a frontmatter edge.
src_field: Option<String>The frontmatter or inline-field key; None for a plain link.
predicate: Stringreferences, embeds, or the field key.
dst_kind: DstKind§target: StringThe raw target: a repo path, a wikilink name (alias included) or a
normalized URI; "" for a pure fragment.
anchor: Option<String>The #heading or ^ref fragment, without its marker.
provenance: ProvenanceTrait Implementations§
Source§impl Clone for EdgeDescriptor
impl Clone for EdgeDescriptor
Source§impl Debug for EdgeDescriptor
impl Debug for EdgeDescriptor
impl Eq for EdgeDescriptor
Source§impl PartialEq for EdgeDescriptor
impl PartialEq for EdgeDescriptor
impl StructuralPartialEq for EdgeDescriptor
Auto Trait Implementations§
impl Freeze for EdgeDescriptor
impl RefUnwindSafe for EdgeDescriptor
impl Send for EdgeDescriptor
impl Sync for EdgeDescriptor
impl Unpin for EdgeDescriptor
impl UnsafeUnpin for EdgeDescriptor
impl UnwindSafe for EdgeDescriptor
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.