pub struct DiffDelta<'a> { /* private fields */ }
Expand description

Description of changes to one entry.

Implementations

Returns the flags on the delta.

For more information, see DiffFlags’s documentation.

Returns the number of files in this delta.

Returns the status of this entry

For more information, see Delta’s documentation

Return the file which represents the “from” side of the diff.

What side this means depends on the function that was used to generate the diff and will be documented on the function itself.

Return the file which represents the “to” side of the diff.

What side this means depends on the function that was used to generate the diff and will be documented on the function itself.

Trait Implementations

Formats the value using the given formatter. Read more

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.