pub struct FindingSpan {
pub line: usize,
pub col: usize,
pub len: usize,
pub label: String,
}Fields§
§line: usize§col: usize§len: usize§label: StringTrait Implementations§
Source§impl Clone for FindingSpan
impl Clone for FindingSpan
Source§fn clone(&self) -> FindingSpan
fn clone(&self) -> FindingSpan
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for FindingSpan
impl Debug for FindingSpan
Source§impl PartialEq for FindingSpan
impl PartialEq for FindingSpan
Source§fn eq(&self, other: &FindingSpan) -> bool
fn eq(&self, other: &FindingSpan) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for FindingSpan
impl StructuralPartialEq for FindingSpan
Auto Trait Implementations§
impl Freeze for FindingSpan
impl RefUnwindSafe for FindingSpan
impl Send for FindingSpan
impl Sync for FindingSpan
impl Unpin for FindingSpan
impl UnsafeUnpin for FindingSpan
impl UnwindSafe for FindingSpan
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.