pub struct CommitType {
pub name: &'static str,
pub emoji: &'static str,
}Expand description
A conventional-commit type and the gitmoji commit-msg prepends.
Fields§
§name: &'static str§emoji: &'static strAuto Trait Implementations§
impl Freeze for CommitType
impl RefUnwindSafe for CommitType
impl Send for CommitType
impl Sync for CommitType
impl Unpin for CommitType
impl UnsafeUnpin for CommitType
impl UnwindSafe for CommitType
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more