pub struct TextLocation { /* private fields */ }Expand description
The location of a certain element in a text file
Implementations§
Trait Implementations§
Source§impl Clone for TextLocation
impl Clone for TextLocation
Source§fn clone(&self) -> TextLocation
fn clone(&self) -> TextLocation
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 TextLocation
impl Debug for TextLocation
Source§impl<'de> Deserialize<'de> for TextLocation
impl<'de> Deserialize<'de> for TextLocation
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
Source§impl Hash for TextLocation
impl Hash for TextLocation
Source§impl PartialEq for TextLocation
impl PartialEq for TextLocation
Source§fn eq(&self, other: &TextLocation) -> bool
fn eq(&self, other: &TextLocation) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for TextLocation
impl Serialize for TextLocation
impl Copy for TextLocation
impl Eq for TextLocation
impl StructuralPartialEq for TextLocation
Auto Trait Implementations§
impl Freeze for TextLocation
impl RefUnwindSafe for TextLocation
impl Send for TextLocation
impl Sync for TextLocation
impl Unpin for TextLocation
impl UnsafeUnpin for TextLocation
impl UnwindSafe for TextLocation
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