pub struct SymbolSourceSelector {
pub byte_start: usize,
pub byte_end: usize,
pub column_start: usize,
pub column_end: usize,
}Expand description
Exact parser-supplied byte and column selector for one symbol.
Fields§
§byte_start: usizeInclusive UTF-8 byte offset.
byte_end: usizeExclusive UTF-8 byte offset.
column_start: usizeZero-based Unicode-scalar start column.
column_end: usizeExclusive zero-based Unicode-scalar end column.
Trait Implementations§
Source§impl Clone for SymbolSourceSelector
impl Clone for SymbolSourceSelector
Source§fn clone(&self) -> SymbolSourceSelector
fn clone(&self) -> SymbolSourceSelector
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 moreimpl Copy for SymbolSourceSelector
Source§impl Debug for SymbolSourceSelector
impl Debug for SymbolSourceSelector
Source§impl<'de> Deserialize<'de> for SymbolSourceSelector
impl<'de> Deserialize<'de> for SymbolSourceSelector
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for SymbolSourceSelector
Source§impl PartialEq for SymbolSourceSelector
impl PartialEq for SymbolSourceSelector
Source§fn eq(&self, other: &SymbolSourceSelector) -> bool
fn eq(&self, other: &SymbolSourceSelector) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for SymbolSourceSelector
impl Serialize for SymbolSourceSelector
impl StructuralPartialEq for SymbolSourceSelector
Auto Trait Implementations§
impl Freeze for SymbolSourceSelector
impl RefUnwindSafe for SymbolSourceSelector
impl Send for SymbolSourceSelector
impl Sync for SymbolSourceSelector
impl Unpin for SymbolSourceSelector
impl UnsafeUnpin for SymbolSourceSelector
impl UnwindSafe for SymbolSourceSelector
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<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
§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.