pub struct TextDocumentCacheItem {
pub text: String,
pub uri: Url,
pub version: Option<i32>,
pub language_id: Option<String>,
}
Fields§
§text: String
§uri: Url
§version: Option<i32>
§language_id: Option<String>
Implementations§
Trait Implementations§
Source§impl Clone for TextDocumentCacheItem
impl Clone for TextDocumentCacheItem
Source§fn clone(&self) -> TextDocumentCacheItem
fn clone(&self) -> TextDocumentCacheItem
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 moreAuto Trait Implementations§
impl Freeze for TextDocumentCacheItem
impl RefUnwindSafe for TextDocumentCacheItem
impl Send for TextDocumentCacheItem
impl Sync for TextDocumentCacheItem
impl Unpin for TextDocumentCacheItem
impl UnwindSafe for TextDocumentCacheItem
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