Enum emoji_commit_type::CommitType [] [src]

pub enum CommitType {
    Breaking,
    Feature,
    Bugfix,
    Other,
    Meta,
}

A specific commit type

Variants

Methods

impl CommitType
[src]

Return the first commit type (Breaking)

Return the last commit variant (Meta)

Given a commit type, return the next commit type

Given a commit type, return the previous commit type

Return an iterator over all commit types

Return the emoji for this commit type

Return the description for this commit type

Trait Implementations

impl PartialEq for CommitType
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for CommitType
[src]

impl Copy for CommitType
[src]

impl Clone for CommitType
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for CommitType
[src]

Formats the value using the given formatter.