pub struct LocationDTO {
pub Uri: Url,
pub Range: RangeDTO,
}Expand description
A serializable struct representing a location, analogous to
vscode.Location. It is a core building block for features like “Go to
Definition” and “Find All References”.
Fields§
§Uri: UrlThe URI of the resource.
Range: RangeDTOThe range within the resource.
Trait Implementations§
Source§impl Clone for LocationDTO
impl Clone for LocationDTO
Source§fn clone(&self) -> LocationDTO
fn clone(&self) -> LocationDTO
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 LocationDTO
impl Debug for LocationDTO
Source§impl<'de> Deserialize<'de> for LocationDTO
impl<'de> Deserialize<'de> for LocationDTO
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 LocationDTO
impl RefUnwindSafe for LocationDTO
impl Send for LocationDTO
impl Sync for LocationDTO
impl Unpin for LocationDTO
impl UnwindSafe for LocationDTO
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