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.
Fields
uri: Url
The text document's URI.
Methods
impl TextDocumentIdentifier
[src]
impl TextDocumentIdentifier
pub fn new(uri: Url) -> TextDocumentIdentifier
[src]
pub fn new(uri: Url) -> TextDocumentIdentifier
Trait Implementations
impl Debug for TextDocumentIdentifier
[src]
impl Debug for TextDocumentIdentifier
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Eq for TextDocumentIdentifier
[src]
impl Eq for TextDocumentIdentifier
impl PartialEq for TextDocumentIdentifier
[src]
impl PartialEq for TextDocumentIdentifier
fn eq(&self, other: &TextDocumentIdentifier) -> bool
[src]
fn eq(&self, other: &TextDocumentIdentifier) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &TextDocumentIdentifier) -> bool
[src]
fn ne(&self, other: &TextDocumentIdentifier) -> bool
This method tests for !=
.
impl Clone for TextDocumentIdentifier
[src]
impl Clone for TextDocumentIdentifier
fn clone(&self) -> TextDocumentIdentifier
[src]
fn clone(&self) -> TextDocumentIdentifier
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
Auto Trait Implementations
impl Send for TextDocumentIdentifier
impl Send for TextDocumentIdentifier
impl Sync for TextDocumentIdentifier
impl Sync for TextDocumentIdentifier