Enum emoji_commit_type::CommitType
[−]
[src]
pub enum CommitType { Breaking, Feature, Bugfix, Other, Meta, }
A specific commit type
Variants
Breaking
Feature
Bugfix
Other
Meta
Methods
impl CommitType
[src]
fn first_variant() -> CommitType
Return the first commit type (Breaking)
fn last_variant() -> CommitType
Return the last commit variant (Meta)
fn next_variant(&self) -> Option<CommitType>
Given a commit type, return the next commit type
fn prev_variant(&self) -> Option<CommitType>
Given a commit type, return the previous commit type
fn iter_variants() -> CommitTypeIterator
Return an iterator over all commit types
fn emoji(&self) -> &'static str
Return the emoji for this commit type
fn description(&self) -> &'static str
Return the description for this commit type
Trait Implementations
impl PartialEq for CommitType
[src]
fn eq(&self, __arg_0: &CommitType) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0
This method tests for !=
.
impl Eq for CommitType
[src]
impl Copy for CommitType
[src]
impl Clone for CommitType
[src]
fn clone(&self) -> CommitType
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more