pub struct GotoTarget {
pub id: i64,
pub label: String,
pub line: i64,
pub column: Option<i64>,
pub end_line: Option<i64>,
pub end_column: Option<i64>,
}Expand description
A goto target
Fields§
§id: i64Unique identifier for this target
label: StringThe name of the target
line: i64The line of the target
column: Option<i64>Optional column of the target
end_line: Option<i64>Optional end line of the target
end_column: Option<i64>Optional end column of the target
Trait Implementations§
Source§impl Clone for GotoTarget
impl Clone for GotoTarget
Source§fn clone(&self) -> GotoTarget
fn clone(&self) -> GotoTarget
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 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
Auto Trait Implementations§
impl Freeze for GotoTarget
impl RefUnwindSafe for GotoTarget
impl Send for GotoTarget
impl Sync for GotoTarget
impl Unpin for GotoTarget
impl UnsafeUnpin 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