pub struct CompletionEngine {}
Expand description
Intelligent code completion engine
Implementations§
Source§impl CompletionEngine
impl CompletionEngine
pub fn new() -> Self
pub async fn generate_completions( &self, context: &SemanticContext, _analysis: &CodeAnalysis, _line: usize, _column: usize, _prefix: &str, ) -> Result<Vec<CompletionSuggestion>>
Auto Trait Implementations§
impl Freeze for CompletionEngine
impl RefUnwindSafe for CompletionEngine
impl Send for CompletionEngine
impl Sync for CompletionEngine
impl Unpin for CompletionEngine
impl UnwindSafe for CompletionEngine
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