pub struct CommitFormatter { /* private fields */ }Implementations§
Source§impl CommitFormatter
impl CommitFormatter
pub fn new(format: Option<String>) -> Self
pub fn format_message(&self, data: CommitData) -> Result<String>
pub fn get_default_format() -> &'static str
Auto Trait Implementations§
impl Freeze for CommitFormatter
impl RefUnwindSafe for CommitFormatter
impl Send for CommitFormatter
impl Sync for CommitFormatter
impl Unpin for CommitFormatter
impl UnwindSafe for CommitFormatter
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