pub struct Revision<'s> { /* private fields */ }Expand description
The store as of one commit. Reads come from the commit’s tree, never from the working tree.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'s> !Send for Revision<'s>
impl<'s> !Sync for Revision<'s>
impl<'s> Forget for Revision<'s>
impl<'s> Freeze for Revision<'s>where
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
*mut git_tree: Freeze,
PhantomData<Object<'s>>: Freeze,
&'s Repository: Freeze,
impl<'s> Move for Revision<'s>
impl<'s> RefUnwindSafe for Revision<'s>
impl<'s> Unpin for Revision<'s>
impl<'s> UnsafeUnpin for Revision<'s>where
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
*mut git_tree: UnsafeUnpin,
PhantomData<Object<'s>>: UnsafeUnpin,
&'s Repository: UnsafeUnpin,
impl<'s> UnwindSafe for Revision<'s>where
RawVecInner: UnwindSafe,
*mut git_tree: UnwindSafe,
*mut git_object: UnwindSafe,
&'s Repository: UnwindSafe,
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