pub struct CompletionContextBuilder { /* private fields */ }Implementations§
Source§impl CompletionContextBuilder
impl CompletionContextBuilder
pub fn new() -> Self
pub fn build(self) -> CompletionContext
pub fn activation(self, activation: CompletionActivation) -> Self
pub fn completion<P: IsA<Completion>>(self, completion: &P) -> Self
Trait Implementations§
Source§impl Clone for CompletionContextBuilder
impl Clone for CompletionContextBuilder
Source§fn clone(&self) -> CompletionContextBuilder
fn clone(&self) -> CompletionContextBuilder
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for CompletionContextBuilder
impl Default for CompletionContextBuilder
Source§fn default() -> CompletionContextBuilder
fn default() -> CompletionContextBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for CompletionContextBuilder
impl RefUnwindSafe for CompletionContextBuilder
impl !Send for CompletionContextBuilder
impl !Sync for CompletionContextBuilder
impl Unpin for CompletionContextBuilder
impl UnwindSafe for CompletionContextBuilder
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