pub struct ApplyOptions {
pub reverse: bool,
}Expand description
Options controlling blob-level hunk application.
Fields§
§reverse: boolWhen true, interpret the patch as reversing a forward diff (+/- swapped).
Trait Implementations§
Source§impl Clone for ApplyOptions
impl Clone for ApplyOptions
impl Copy for ApplyOptions
Source§impl Debug for ApplyOptions
impl Debug for ApplyOptions
Source§impl Default for ApplyOptions
impl Default for ApplyOptions
impl Eq for ApplyOptions
Source§impl PartialEq for ApplyOptions
impl PartialEq for ApplyOptions
impl StructuralPartialEq for ApplyOptions
Auto Trait Implementations§
impl Freeze for ApplyOptions
impl RefUnwindSafe for ApplyOptions
impl Send for ApplyOptions
impl Sync for ApplyOptions
impl Unpin for ApplyOptions
impl UnsafeUnpin for ApplyOptions
impl UnwindSafe for ApplyOptions
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.