pub struct PathCompletionSource;Expand description
The SyncCompletionSource impl for path completion.
Stateless beyond its newtype identity; the host threads
path_context + buffer_dir through InsertContext.
Trait Implementations§
Source§impl Clone for PathCompletionSource
impl Clone for PathCompletionSource
Source§fn clone(&self) -> PathCompletionSource
fn clone(&self) -> PathCompletionSource
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PathCompletionSource
impl Debug for PathCompletionSource
Source§impl Default for PathCompletionSource
impl Default for PathCompletionSource
Source§fn default() -> PathCompletionSource
fn default() -> PathCompletionSource
Returns the “default value” for a type. Read more
Source§impl SyncCompletionSource for PathCompletionSource
impl SyncCompletionSource for PathCompletionSource
Source§fn produce(&self, ctx: &InsertContext<'_>) -> Vec<RawCandidate>
fn produce(&self, ctx: &InsertContext<'_>) -> Vec<RawCandidate>
Produce raw candidates for the supplied context. Cheap
(microseconds); the aggregator calls this whenever the
popup’s query string changes.
Auto Trait Implementations§
impl Freeze for PathCompletionSource
impl RefUnwindSafe for PathCompletionSource
impl Send for PathCompletionSource
impl Sync for PathCompletionSource
impl Unpin for PathCompletionSource
impl UnsafeUnpin for PathCompletionSource
impl UnwindSafe for PathCompletionSource
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