pub struct SyntaxPointDto {
pub line: u32,
pub column: u32,
}Fields§
§line: u32One-based line number.
column: u32Zero-based UTF-8 byte column, matching Tree-sitter.
Trait Implementations§
Source§impl Clone for SyntaxPointDto
impl Clone for SyntaxPointDto
Source§fn clone(&self) -> SyntaxPointDto
fn clone(&self) -> SyntaxPointDto
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 SyntaxPointDto
Source§impl Debug for SyntaxPointDto
impl Debug for SyntaxPointDto
Source§impl<'de> Deserialize<'de> for SyntaxPointDto
impl<'de> Deserialize<'de> for SyntaxPointDto
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 SyntaxPointDto
Source§impl PartialEq for SyntaxPointDto
impl PartialEq for SyntaxPointDto
Source§impl Serialize for SyntaxPointDto
impl Serialize for SyntaxPointDto
impl StructuralPartialEq for SyntaxPointDto
Auto Trait Implementations§
impl Freeze for SyntaxPointDto
impl RefUnwindSafe for SyntaxPointDto
impl Send for SyntaxPointDto
impl Sync for SyntaxPointDto
impl Unpin for SyntaxPointDto
impl UnsafeUnpin for SyntaxPointDto
impl UnwindSafe for SyntaxPointDto
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