pub struct Differ { /* private fields */ }Expand description
Text differ
Implementations§
Source§impl Differ
impl Differ
pub fn new() -> Self
Sourcepub fn timeout(&mut self, timeout: Option<Duration>) -> &mut Self
pub fn timeout(&mut self, timeout: Option<Duration>) -> &mut Self
Set timeout for diff operation
Sourcepub fn cleanup_semantic(&mut self) -> &mut Self
pub fn cleanup_semantic(&mut self) -> &mut Self
Do semantic cleanup after diff
Sourcepub fn cleanup_efficiency(&mut self, edit_cost: i32) -> &mut Self
pub fn cleanup_efficiency(&mut self, edit_cost: i32) -> &mut Self
Do efficiency cleanup after diff
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Differ
impl RefUnwindSafe for Differ
impl Send for Differ
impl Sync for Differ
impl Unpin for Differ
impl UnwindSafe for Differ
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