pub struct BasicGhostTextGenerator;Expand description
Basic ghost text generator implementation
Implementations§
Trait Implementations§
Source§impl Default for BasicGhostTextGenerator
impl Default for BasicGhostTextGenerator
Source§impl GhostTextGenerator for BasicGhostTextGenerator
impl GhostTextGenerator for BasicGhostTextGenerator
Source§fn generate_ghost_text(
&self,
completion: &CompletionItem,
position: Position,
) -> GhostText
fn generate_ghost_text( &self, completion: &CompletionItem, position: Position, ) -> GhostText
Generate ghost text from a completion item
Source§fn generate_multiline_ghost_text(
&self,
completion: &CompletionItem,
position: Position,
) -> GhostText
fn generate_multiline_ghost_text( &self, completion: &CompletionItem, position: Position, ) -> GhostText
Generate ghost text for multi-line completions
Auto Trait Implementations§
impl Freeze for BasicGhostTextGenerator
impl RefUnwindSafe for BasicGhostTextGenerator
impl Send for BasicGhostTextGenerator
impl Sync for BasicGhostTextGenerator
impl Unpin for BasicGhostTextGenerator
impl UnwindSafe for BasicGhostTextGenerator
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