pub struct UnifiedDiffUtils;Expand description
Utility methods for unified diff parsing and formatting.
Implementations§
Source§impl UnifiedDiffUtils
impl UnifiedDiffUtils
Sourcepub fn parse_unified_diff(diff: &[String]) -> Patch<String>
pub fn parse_unified_diff(diff: &[String]) -> Patch<String>
Parses a sequence of unified diff lines and returns a Patch<String>.
Auto Trait Implementations§
impl Freeze for UnifiedDiffUtils
impl RefUnwindSafe for UnifiedDiffUtils
impl Send for UnifiedDiffUtils
impl Sync for UnifiedDiffUtils
impl Unpin for UnifiedDiffUtils
impl UnsafeUnpin for UnifiedDiffUtils
impl UnwindSafe for UnifiedDiffUtils
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