pub struct TreeDiff { /* private fields */ }Available on crate feature
diff only.Implementations§
Source§impl TreeDiff
impl TreeDiff
pub async fn new<G: FileSystem>( repo: &Repo<G>, left: &Tree, right: &Tree, ) -> GResult<Self>
pub async fn new_cancelable<G: FileSystem>( repo: &Repo<G>, left: &Tree, right: &Tree, cancel: impl AsyncFnMut() -> bool, ) -> GResult<Self>
pub async fn to_text_diff<G: FileSystem>(&self, repo: &Repo<G>) -> GResult<Diff>
pub async fn to_text_diff_full<G: FileSystem>( &self, repo: &Repo<G>, config: &TextDiffConfig, cancel: impl AsyncFnMut() -> bool, ) -> GResult<Diff>
Auto Trait Implementations§
impl Freeze for TreeDiff
impl RefUnwindSafe for TreeDiff
impl Send for TreeDiff
impl Sync for TreeDiff
impl Unpin for TreeDiff
impl UnsafeUnpin for TreeDiff
impl UnwindSafe for TreeDiff
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