[go: up one dir, main page]

Struct git2::Statuses

source ·
pub struct Statuses<'repo> { /* private fields */ }
Expand description

A container for a list of status information about a repository.

Each instance appears as if it were a collection, having a length and allowing indexing, as well as providing an iterator.

Implementations§

Gets a status entry from this list at the specified index.

Returns None if the index is out of bounds.

Gets the count of status entries in this list.

If there are no changes in status (according to the options given when the status list was created), this should return 0.

Return true if there is no status entry in this list.

Returns an iterator over the statuses in this list.

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

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.