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 TextDocumentIdentifierpub fn new(uri: Url) -> TextDocumentIdentifier[src]
pub fn new(uri: Url) -> TextDocumentIdentifierTrait Implementations
impl Debug for TextDocumentIdentifier[src]
impl Debug for TextDocumentIdentifierfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Eq for TextDocumentIdentifier[src]
impl Eq for TextDocumentIdentifierimpl PartialEq for TextDocumentIdentifier[src]
impl PartialEq for TextDocumentIdentifierfn eq(&self, other: &TextDocumentIdentifier) -> bool[src]
fn eq(&self, other: &TextDocumentIdentifier) -> boolThis 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) -> boolThis method tests for !=.
impl Clone for TextDocumentIdentifier[src]
impl Clone for TextDocumentIdentifierfn clone(&self) -> TextDocumentIdentifier[src]
fn clone(&self) -> TextDocumentIdentifierReturns 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 TextDocumentIdentifierimpl Sync for TextDocumentIdentifier
impl Sync for TextDocumentIdentifier