pub struct CheckpointManager { /* private fields */ }Implementations§
Source§impl CheckpointManager
impl CheckpointManager
pub fn new() -> Self
pub fn update_doc(&mut self, uri: Uri, txt: String, version: Option<i32>)
pub fn update_symbols(&mut self, sym: Symbols)
pub fn update_ws_symbols(&mut self, wsym: HashMap<String, Symbol>)
pub fn update_folding_ranges(&mut self, folding_ranges: Vec<FoldingRange>)
Trait Implementations§
Source§impl Checkpoint for CheckpointManager
impl Checkpoint for CheckpointManager
Source§fn get_doc(&self) -> Document
fn get_doc(&self) -> Document
Get a copy of the most recently checkpointed document and version.
Source§fn get_line(&self, row: usize) -> Option<String>
fn get_line(&self, row: usize) -> Option<String>
Get a row from the most recently checkpointed document.
fn get_folding_ranges(&self) -> Vec<FoldingRange>
fn get_symbols(&self) -> Vec<DocumentSymbol>
fn get_decs(&self, sel_loc: &Location) -> Vec<Location>
fn get_defs(&self, sel_loc: &Location) -> Vec<Location>
fn get_refs(&self, sel_loc: &Location) -> Vec<Location>
fn get_renamables(&self, sel_loc: &Location) -> Vec<Location>
fn symbol_response( chkpts: HashMap<String, Arc<&Self>>, req: Request, resp: &mut Response, )
fn goto_dec_response( chkpts: HashMap<String, Arc<&Self>>, req: Request, resp: &mut Response, )
fn goto_def_response( chkpts: HashMap<String, Arc<&Self>>, req: Request, resp: &mut Response, )
fn goto_ref_response( chkpts: HashMap<String, Arc<&Self>>, req: Request, resp: &mut Response, )
fn rename_response( chkpts: HashMap<String, Arc<&Self>>, req: Request, resp: &mut Response, )
fn folding_range_response( chkpts: HashMap<String, Arc<&Self>>, req: Request, resp: &mut Response, )
fn hover_response<HOV: Hovers>( chkpts: HashMap<String, Arc<&Self>>, hov: &mut HOV, req: Request, resp: &mut Response, )
fn completion_response<CMP: Completions>( chkpts: HashMap<String, Arc<&Self>>, cmp: &mut CMP, req: Request, resp: &mut Response, )
fn sem_tok_response<TOK: Tokens>( chkpts: HashMap<String, Arc<&Self>>, tok: &mut TOK, req: Request, resp: &mut Response, )
Auto Trait Implementations§
impl !Freeze for CheckpointManager
impl !RefUnwindSafe for CheckpointManager
impl !UnwindSafe for CheckpointManager
impl Send for CheckpointManager
impl Sync for CheckpointManager
impl Unpin for CheckpointManager
impl UnsafeUnpin for CheckpointManager
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