Struct languageserver_types::TextDocumentIdentifier
[−]
[src]
pub struct TextDocumentIdentifier { pub uri: Url, }
Text documents are identified using a URI. On the protocol level, URIs are passed as strings. The corresponding JSON structure looks like this:
Fields
uri: Url
The text document's URI.
Methods
impl TextDocumentIdentifier
[src]
fn new(uri: Url) -> TextDocumentIdentifier
Trait Implementations
impl Debug for TextDocumentIdentifier
[src]
impl PartialEq for TextDocumentIdentifier
[src]
fn eq(&self, __arg_0: &TextDocumentIdentifier) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &TextDocumentIdentifier) -> bool
This method tests for !=
.
impl Clone for TextDocumentIdentifier
[src]
fn clone(&self) -> TextDocumentIdentifier
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more