pub enum SubmoduleState {
Uninitialised,
InSync,
Modified,
Conflicted,
}Expand description
What git submodule status reports about one submodule.
The leading character of each status line, which is the part that decides what the user can usefully do next.
Variants§
Uninitialised
- — not initialised. Its working tree is empty; update is
what fills it.
InSync
— checked out at the commit the superproject records.
Modified
+ — checked out at a different commit than the superproject
records. Either you moved it deliberately or an update is
pending.
Conflicted
U — has merge conflicts.
Implementations§
Trait Implementations§
Source§impl Clone for SubmoduleState
impl Clone for SubmoduleState
Source§fn clone(&self) -> SubmoduleState
fn clone(&self) -> SubmoduleState
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for SubmoduleState
Source§impl Debug for SubmoduleState
impl Debug for SubmoduleState
impl Eq for SubmoduleState
Source§impl PartialEq for SubmoduleState
impl PartialEq for SubmoduleState
impl StructuralPartialEq for SubmoduleState
Auto Trait Implementations§
impl Freeze for SubmoduleState
impl RefUnwindSafe for SubmoduleState
impl Send for SubmoduleState
impl Sync for SubmoduleState
impl Unpin for SubmoduleState
impl UnsafeUnpin for SubmoduleState
impl UnwindSafe for SubmoduleState
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more