pub enum LinkTarget {
InPackage(String),
External(String),
Fragment(String),
}Expand description
Where a link points, once classified.
Variants§
InPackage(String)
A relative path inside the skill directory — references/runbook.md,
scripts/deploy.sh. These are the progressive-disclosure resources.
External(String)
An absolute URL with a scheme, or a protocol-relative one.
Fragment(String)
A same-document anchor, #section.
Implementations§
Trait Implementations§
Source§impl Clone for LinkTarget
impl Clone for LinkTarget
Source§impl Debug for LinkTarget
impl Debug for LinkTarget
impl Eq for LinkTarget
Source§impl PartialEq for LinkTarget
impl PartialEq for LinkTarget
impl StructuralPartialEq for LinkTarget
Auto Trait Implementations§
impl Freeze for LinkTarget
impl RefUnwindSafe for LinkTarget
impl Send for LinkTarget
impl Sync for LinkTarget
impl Unpin for LinkTarget
impl UnsafeUnpin for LinkTarget
impl UnwindSafe for LinkTarget
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.