pub enum Fragment<'a> {
Body(Body<'a>),
Comment(Comment<'a>),
}
Expand description
A Fragment
from the [CommitMessage
], either a comment or body
Variants§
Body(Body<'a>)
A fragment that is going to appear in the git log
Comment(Comment<'a>)
A fragment that is a comment
Trait Implementations§
impl<'a> Eq for Fragment<'a>
impl<'a> StructuralPartialEq for Fragment<'a>
Auto Trait Implementations§
impl<'a> Freeze for Fragment<'a>
impl<'a> RefUnwindSafe for Fragment<'a>
impl<'a> Send for Fragment<'a>
impl<'a> Sync for Fragment<'a>
impl<'a> Unpin for Fragment<'a>
impl<'a> UnwindSafe for Fragment<'a>
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