pub enum Submodules {
All,
RefChange,
Modifications,
None,
}
Variants§
All
display all information about submodules, including ref changes, modifications and untracked files.
RefChange
Compare only the configuration of the superprojects commit with the actually checked out HEAD
commit.
Modifications
See if there are worktree modifications compared to the index, but do not check for untracked files.
None
Ignore all submodule changes.
Auto Trait Implementations§
impl Freeze for Submodules
impl RefUnwindSafe for Submodules
impl Send for Submodules
impl Sync for Submodules
impl Unpin for Submodules
impl UnwindSafe for Submodules
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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more