Enum mit_commit::Fragment
source · [−]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
sourceimpl<'a> PartialEq<Fragment<'a>> for Fragment<'a>
impl<'a> PartialEq<Fragment<'a>> for Fragment<'a>
impl<'a> Eq for Fragment<'a>
impl<'a> StructuralEq for Fragment<'a>
impl<'a> StructuralPartialEq for Fragment<'a>
Auto Trait Implementations
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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more