Struct git2::Blame[][src]

pub struct Blame<'repo> { /* fields omitted */ }
Expand description

Opaque structure to hold blame results.

Implementations

Gets the number of hunks that exist in the blame structure.

Return true is there is no hunk in the blame structure.

Gets the blame hunk at the given index.

Gets the hunk that relates to the given line number in the newest commit.

Returns an iterator over the hunks in this blame.

Trait Implementations

Executes the destructor for this type. 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

Performs the conversion.

Performs the conversion.

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.