pub struct SourceParser { /* private fields */ }Implementations§
Source§impl SourceParser
impl SourceParser
pub fn new(config: ParserConfig) -> Self
pub fn parse_repo( &self, repo_root: impl AsRef<Path>, ) -> Result<ParsedRepository>
pub fn parse_repo_with_progress( &self, repo_root: impl AsRef<Path>, progress: impl FnMut(MatryoshkaProgressEvent), ) -> Result<ParsedRepository>
Auto Trait Implementations§
impl Freeze for SourceParser
impl RefUnwindSafe for SourceParser
impl Send for SourceParser
impl Sync for SourceParser
impl Unpin for SourceParser
impl UnsafeUnpin for SourceParser
impl UnwindSafe for SourceParser
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