pub struct LspStateMirror {
pub servers: BTreeMap<u16, LspServerState>,
pub flags: u8,
}Expand description
The complete client obligation for LSP_STATE: replace the whole
map, ack.
Fields§
§servers: BTreeMap<u16, LspServerState>Keyed by server_ref.
flags: u8The last snapshot’s flags.
Implementations§
Trait Implementations§
Source§impl Clone for LspStateMirror
impl Clone for LspStateMirror
Source§fn clone(&self) -> LspStateMirror
fn clone(&self) -> LspStateMirror
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for LspStateMirror
impl Debug for LspStateMirror
Source§impl Default for LspStateMirror
impl Default for LspStateMirror
Source§fn default() -> LspStateMirror
fn default() -> LspStateMirror
Returns the “default value” for a type. Read more
impl Eq for LspStateMirror
Source§impl PartialEq for LspStateMirror
impl PartialEq for LspStateMirror
impl StructuralPartialEq for LspStateMirror
Auto Trait Implementations§
impl Freeze for LspStateMirror
impl RefUnwindSafe for LspStateMirror
impl Send for LspStateMirror
impl Sync for LspStateMirror
impl Unpin for LspStateMirror
impl UnsafeUnpin for LspStateMirror
impl UnwindSafe for LspStateMirror
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