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 Forget for GitDiff
impl Freeze for GitDiff
impl Move for GitDiff
impl RefUnwindSafe for GitDiff
impl Send for GitDiffwhere
RawVecInner: Send,
impl Sync for GitDiffwhere
RawVecInner: Sync,
impl Unpin for GitDiff
impl UnsafeUnpin for GitDiffwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<DiffFile>: UnsafeUnpin,
impl UnwindSafe for GitDiffwhere
RawVecInner: UnwindSafe,
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