pub enum Operation {
Buffer(Operation),
UpdateDiagnostics {
server_id: LanguageServerId,
diagnostics: Arc<[DiagnosticEntry<Anchor>], Global>,
lamport_timestamp: Lamport,
},
UpdateSelections {
selections: Arc<[Selection<Anchor>], Global>,
lamport_timestamp: Lamport,
line_mode: bool,
cursor_shape: CursorShape,
},
UpdateCompletionTriggers {
triggers: Vec<String, Global>,
lamport_timestamp: Lamport,
},
}
Variants§
Buffer(Operation)
UpdateDiagnostics
Fields
§
server_id: LanguageServerId
§
diagnostics: Arc<[DiagnosticEntry<Anchor>], Global>
§
lamport_timestamp: Lamport
UpdateSelections
UpdateCompletionTriggers
Trait Implementations§
source§impl PartialEq<Operation> for Operation
impl PartialEq<Operation> for Operation
impl StructuralPartialEq for Operation
Auto Trait Implementations§
impl RefUnwindSafe for Operation
impl Send for Operation
impl Sync for Operation
impl Unpin for Operation
impl UnwindSafe for Operation
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