pub struct ChordEngine;Implementations§
Source§impl ChordEngine
impl ChordEngine
pub fn execute( chord_input: &str, buffers: &HashMap<String, Buffer>, lsp: &mut LspEngine, ) -> Result<HashMap<String, ChordAction>>
pub fn parse(chord_input: &str) -> Result<ChordQuery>
pub fn resolve( query: &ChordQuery, buffers: &HashMap<String, Buffer>, lsp: &mut LspEngine, ) -> Result<ResolvedChord>
pub fn patch( resolved: &ResolvedChord, buffers: &HashMap<String, Buffer>, ) -> Result<HashMap<String, ChordAction>>
pub fn try_auto_submit_short( input: &str, cursor_line: usize, cursor_col: usize, ) -> Option<ChordQuery>
Auto Trait Implementations§
impl Freeze for ChordEngine
impl RefUnwindSafe for ChordEngine
impl Send for ChordEngine
impl Sync for ChordEngine
impl Unpin for ChordEngine
impl UnsafeUnpin for ChordEngine
impl UnwindSafe for ChordEngine
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more