pub struct ApplyOptions<'cb> { /* private fields */ }
Expand description

Options to specify when applying a diff

Implementations

Creates a new set of empty options (zeroed).

Don’t actually make changes, just test that the patch applies.

When applying a patch, callback that will be made per hunk.

When applying a patch, callback that will be made per delta (file).

Pointer to a raw git_stash_apply_options

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.