pub struct CommandParser;Expand description
Parser for Tauri command functions
Implementations§
Source§impl CommandParser
impl CommandParser
pub fn new() -> Self
Sourcepub fn extract_commands_from_ast(
&self,
ast: &SynFile,
file_path: &Path,
type_resolver: &mut TypeResolver,
) -> Result<Vec<CommandInfo>, Box<dyn Error>>
pub fn extract_commands_from_ast( &self, ast: &SynFile, file_path: &Path, type_resolver: &mut TypeResolver, ) -> Result<Vec<CommandInfo>, Box<dyn Error>>
Extract commands from a cached AST
Trait Implementations§
Source§impl Debug for CommandParser
impl Debug for CommandParser
Auto Trait Implementations§
impl Freeze for CommandParser
impl RefUnwindSafe for CommandParser
impl Send for CommandParser
impl Sync for CommandParser
impl Unpin for CommandParser
impl UnwindSafe for CommandParser
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