[][src]Struct git2::Statuses

pub struct Statuses<'repo> { /* fields omitted */ }

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.

Methods

impl<'repo> Statuses<'repo>
[src]

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.

Important traits for StatusIter<'a>

Returns an iterator over the statuses in this list.

Trait Implementations

impl<'repo> Drop for Statuses<'repo>
[src]

Auto Trait Implementations

impl<'repo> !Send for Statuses<'repo>

impl<'repo> !Sync for Statuses<'repo>

Blanket Implementations

impl<T> From for T
[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]