Struct languageserver_types::TextDocumentItem[][src]

pub struct TextDocumentItem {
    pub uri: Url,
    pub language_id: String,
    pub version: u64,
    pub text: String,
}

An item to transfer a text document from the client to the server.

Fields

The text document's URI.

The text document's language identifier.

The version number of this document (it will strictly increase after each change, including undo/redo).

The content of the opened text document.

Methods

impl TextDocumentItem
[src]

Trait Implementations

impl Debug for TextDocumentItem
[src]

Formats the value using the given formatter. Read more

impl Eq for TextDocumentItem
[src]

impl PartialEq for TextDocumentItem
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Clone for TextDocumentItem
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Auto Trait Implementations