pub enum Anchoring {
Literal,
Anchored,
Opaque,
}Expand description
How firmly a LOCAL path is pinned to the place it names — the local counterpart to
Provenance, which grades the same question for remote targets.
A path built by interpolation ($i, $(…)) denotes whatever the value turns out to be, so
the classifier cannot read a region off it. Opaque is that case and is the fail-closed
worst. Anchored is the narrower one: the interpolation sits beside literal text inside its
own component AND its source cannot emit a separator, so the component is a filename
whatever the value is and the literal prefix decides the locus (out/dx_$i.txt). See
neutralize_atoms — that function is the only thing that can grant Anchored.
Variants§
Trait Implementations§
impl Copy for Anchoring
impl Eq for Anchoring
Source§impl FacetTerm for Anchoring
impl FacetTerm for Anchoring
Source§impl Ord for Anchoring
impl Ord for Anchoring
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for Anchoring
impl PartialOrd for Anchoring
impl StructuralPartialEq for Anchoring
Auto Trait Implementations§
impl Freeze for Anchoring
impl RefUnwindSafe for Anchoring
impl Send for Anchoring
impl Sync for Anchoring
impl Unpin for Anchoring
impl UnsafeUnpin for Anchoring
impl UnwindSafe for Anchoring
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> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
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.