pub struct DocProvider;
Expand description
Provider for project documentation commands
Implementations§
Source§impl DocProvider
impl DocProvider
Trait Implementations§
Source§impl CommandProvider for DocProvider
impl CommandProvider for DocProvider
Source§fn commands<'life0, 'life1, 'async_trait>(
&'life0 self,
context: &'life1 ProjectContext,
) -> Pin<Box<dyn Future<Output = RazResult<Vec<Command>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn commands<'life0, 'life1, 'async_trait>(
&'life0 self,
context: &'life1 ProjectContext,
) -> Pin<Box<dyn Future<Output = RazResult<Vec<Command>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Generate commands for the given context
Source§fn can_handle(&self, context: &ProjectContext) -> bool
fn can_handle(&self, context: &ProjectContext) -> bool
Whether this provider can handle the given context
Auto Trait Implementations§
impl Freeze for DocProvider
impl RefUnwindSafe for DocProvider
impl Send for DocProvider
impl Sync for DocProvider
impl Unpin for DocProvider
impl UnwindSafe for DocProvider
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