pub enum Parent {
Absent,
Carries(Option<Version>),
}Expand description
What the parent commit carries.
Variants§
Absent
The parent holds no version file, or the commit has no parent.
Carries(Option<Version>)
The parent’s version file, with the version it reads as, where it reads as one.
Trait Implementations§
impl Copy for Parent
impl Eq for Parent
impl StructuralPartialEq for Parent
Auto Trait Implementations§
impl Forget for Parent
impl Freeze for Parent
impl Move for Parent
impl RefUnwindSafe for Parent
impl Send for Parent
impl Sync for Parent
impl Unpin for Parent
impl UnsafeUnpin for Parent
impl UnwindSafe for Parent
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.