pub struct CommitType {
pub text: &'static str,
/* private fields */
}
Fields§
§text: &'static str
Implementations§
Source§impl CommitType
impl CommitType
pub fn default_commit_types() -> [CommitType; 8]
Trait Implementations§
Source§impl Clone for CommitType
impl Clone for CommitType
Source§fn clone(&self) -> CommitType
fn clone(&self) -> CommitType
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Display for CommitType
impl Display for CommitType
impl Copy for CommitType
Auto Trait Implementations§
impl Freeze for CommitType
impl RefUnwindSafe for CommitType
impl Send for CommitType
impl Sync for CommitType
impl Unpin 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