#[non_exhaustive]pub enum SubmoduleIntent {
CreateDirectory,
CreateGitFile,
WriteGitFile,
}
Expand description
Steps which are involved in the submodule preparation process.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
CreateDirectory
Creating the directory for the submodule.
CreateGitFile
Creating a .git
file for the submodule.
WriteGitFile
Writing a .git
file for the submodule.
Trait Implementations§
Source§impl Clone for SubmoduleIntent
impl Clone for SubmoduleIntent
Source§fn clone(&self) -> SubmoduleIntent
fn clone(&self) -> SubmoduleIntent
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for SubmoduleIntent
impl Debug for SubmoduleIntent
Source§impl Display for SubmoduleIntent
impl Display for SubmoduleIntent
Source§impl PartialEq for SubmoduleIntent
impl PartialEq for SubmoduleIntent
impl Copy for SubmoduleIntent
impl Eq for SubmoduleIntent
impl StructuralPartialEq for SubmoduleIntent
Auto Trait Implementations§
impl Freeze for SubmoduleIntent
impl RefUnwindSafe for SubmoduleIntent
impl Send for SubmoduleIntent
impl Sync for SubmoduleIntent
impl Unpin for SubmoduleIntent
impl UnwindSafe for SubmoduleIntent
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