pub struct GitDiff {
pub text: String,
pub ast: DiffAst,
}Expand description
Output of a git-diff computation: the unified text surface and the typed
AST. Both come from one op stream over the same normalized inputs.
Fields§
§text: String§ast: DiffAstAuto Trait Implementations§
impl Freeze for GitDiff
impl RefUnwindSafe for GitDiff
impl Send for GitDiff
impl Sync for GitDiff
impl Unpin for GitDiff
impl UnsafeUnpin for GitDiff
impl UnwindSafe for GitDiff
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