pub struct BlameRevision<'a, T> {
pub content: &'a str,
pub metadata: Rc<T>,
}
Fields§
§content: &'a str
§metadata: Rc<T>
Trait Implementations§
Source§impl<'a, T: Clone> Clone for BlameRevision<'a, T>
impl<'a, T: Clone> Clone for BlameRevision<'a, T>
Source§fn clone(&self) -> BlameRevision<'a, T>
fn clone(&self) -> BlameRevision<'a, T>
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 moreAuto Trait Implementations§
impl<'a, T> Freeze for BlameRevision<'a, T>
impl<'a, T> RefUnwindSafe for BlameRevision<'a, T>where
T: RefUnwindSafe,
impl<'a, T> !Send for BlameRevision<'a, T>
impl<'a, T> !Sync for BlameRevision<'a, T>
impl<'a, T> Unpin for BlameRevision<'a, T>
impl<'a, T> UnwindSafe for BlameRevision<'a, T>where
T: RefUnwindSafe,
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