pub struct GotoTarget {
pub column: Option<i64>,
pub end_column: Option<i64>,
pub end_line: Option<i64>,
pub id: i64,
pub label: String,
pub line: i64,
}
Expand description
A GotoTarget describes a code location that can be used as a target in the ‘goto’ request. The possible goto targets can be determined via the ‘gotoTargets’ request.
Fields§
§column: Option<i64>
An optional column of the goto target.
end_column: Option<i64>
An optional end column of the range covered by the goto target.
end_line: Option<i64>
An optional end line of the range covered by the goto target.
id: i64
Unique identifier for a goto target. This is used in the goto request.
label: String
The name of the goto target (shown in the UI).
line: i64
The line of the goto target.
Trait Implementations§
Source§impl Clone for GotoTarget
impl Clone for GotoTarget
Source§fn clone(&self) -> GotoTarget
fn clone(&self) -> GotoTarget
Returns a copy 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 GotoTarget
impl Debug for GotoTarget
Source§impl<'de> Deserialize<'de> for GotoTarget
impl<'de> Deserialize<'de> for GotoTarget
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 PartialEq for GotoTarget
impl PartialEq for GotoTarget
Source§impl Serialize for GotoTarget
impl Serialize for GotoTarget
impl StructuralPartialEq for GotoTarget
Auto Trait Implementations§
impl Freeze for GotoTarget
impl RefUnwindSafe for GotoTarget
impl Send for GotoTarget
impl Sync for GotoTarget
impl Unpin for GotoTarget
impl UnwindSafe for GotoTarget
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