pub struct IssueStateSet<C>where
    C: Condition,
{ /* private fields */ }
Expand description

Set of issue states

This set of issue states is intended for the efficient computation of an issue’s state.

Implementations§

Create an issue state set from a orderd set of issue states

Note:

The set provided must be the (transitive) closure of all its elements regarding its relations to other sets: if a state is in the set, all states related to it must also be in the set. No explicit checking is performed to assert this property.

Get an iterator for iterating over the issue states within the set

This iterator will yield an issue state only after all its dependencies.

Trait Implementations§

Returns the “default value” for a type. Read more

Create an issue state set directly from a vector

Warning

Within the vector, the states must appear ordered by dependency: all dependencies of a state must appear before the state itself!

Converts to this type from the input type.
Resolve the state for a given issue 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.