pub enum AnchorPlacement {
Placed {
line: u32,
moved_from: Option<u32>,
},
Outdated(OutdatedReason),
}Expand description
One anchor’s landing in the terms a view draws it: no positional indices into one scan’s arrays, just the line the anchor sits on now and, when it could not be placed, the resolver’s own reason.
Variants§
Placed
Placed, at line in the anchor’s own side’s numbering.
moved_from is the recorded line when that is not where it sits.
Outdated(OutdatedReason)
Not placed, for OutdatedReason’s reason.
Trait Implementations§
Source§impl Clone for AnchorPlacement
impl Clone for AnchorPlacement
impl Copy for AnchorPlacement
Source§impl Debug for AnchorPlacement
impl Debug for AnchorPlacement
impl Eq for AnchorPlacement
Source§impl PartialEq for AnchorPlacement
impl PartialEq for AnchorPlacement
impl StructuralPartialEq for AnchorPlacement
Auto Trait Implementations§
impl Freeze for AnchorPlacement
impl RefUnwindSafe for AnchorPlacement
impl Send for AnchorPlacement
impl Sync for AnchorPlacement
impl Unpin for AnchorPlacement
impl UnsafeUnpin for AnchorPlacement
impl UnwindSafe for AnchorPlacement
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.