pub struct TsserverPosition {
pub line: u32,
pub offset: u32,
}Expand description
Tsserver understands 1-based line/offset coordinates.
Fields§
§line: u32§offset: u32Trait Implementations§
Source§impl Clone for TsserverPosition
impl Clone for TsserverPosition
Source§fn clone(&self) -> TsserverPosition
fn clone(&self) -> TsserverPosition
Returns a duplicate of the value. Read more
1.0.0 · 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 TsserverPosition
impl Debug for TsserverPosition
impl Copy for TsserverPosition
Auto Trait Implementations§
impl Freeze for TsserverPosition
impl RefUnwindSafe for TsserverPosition
impl Send for TsserverPosition
impl Sync for TsserverPosition
impl Unpin for TsserverPosition
impl UnwindSafe for TsserverPosition
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