pub struct FormSpan {
pub head: Option<String>,
pub path: Vec<String>,
pub depth: usize,
pub range: Range<usize>,
pub start: Position,
pub end: Position,
}Expand description
Exact byte and line/column range for one complete list form.
Fields§
§head: Option<String>§path: Vec<String>§depth: usize§range: Range<usize>§start: Position§end: PositionImplementations§
Trait Implementations§
impl Eq for FormSpan
impl StructuralPartialEq for FormSpan
Auto Trait Implementations§
impl Freeze for FormSpan
impl RefUnwindSafe for FormSpan
impl Send for FormSpan
impl Sync for FormSpan
impl Unpin for FormSpan
impl UnsafeUnpin for FormSpan
impl UnwindSafe for FormSpan
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.