pub struct Parser {}
Implementations§
Source§impl Parser
impl Parser
fn parse_line_kind(state: &ParserState, line: &str) -> Line
fn parse_line_content<'line>( line: &'line str, kind: &Line, ) -> Result<&'line str, ParseError>
pub fn parse_git_udiff(src: &str) -> Result<DiffComposition, ParseError>
Auto Trait Implementations§
impl Freeze for Parser
impl RefUnwindSafe for Parser
impl Send for Parser
impl Sync for Parser
impl Unpin for Parser
impl UnwindSafe for Parser
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