pub struct SystemdCompletion { /* private fields */ }Implementations§
Source§impl SystemdCompletion
impl SystemdCompletion
pub fn new() -> Self
pub async fn get_completions( &self, parser: &SystemdParser, uri: &Uri, position: &Position, ) -> Option<CompletionResponse>
pub fn get_section_documentation(&self, section_name: &str) -> Option<String>
pub fn get_directive_documentation( &self, directive_name: &str, section_name: &str, ) -> Option<String>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SystemdCompletion
impl RefUnwindSafe for SystemdCompletion
impl Send for SystemdCompletion
impl Sync for SystemdCompletion
impl Unpin for SystemdCompletion
impl UnwindSafe for SystemdCompletion
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