pub struct GenerateSnippetsArgs {
pub overwrite: bool,
}
Fields§
§overwrite: bool
Override snippets project if it already exists.
Trait Implementations§
Source§impl Args for GenerateSnippetsArgs
impl Args for GenerateSnippetsArgs
Source§fn augment_args<'b>(__clap_app: Command) -> Command
fn augment_args<'b>(__clap_app: Command) -> Command
Source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
fn augment_args_for_update<'b>(__clap_app: Command) -> Command
Append to
Command
so it can instantiate self
via
FromArgMatches::update_from_arg_matches_mut
Read moreSource§impl CliArgsToRaw for GenerateSnippetsArgs
impl CliArgsToRaw for GenerateSnippetsArgs
Source§impl Clone for GenerateSnippetsArgs
impl Clone for GenerateSnippetsArgs
Source§fn clone(&self) -> GenerateSnippetsArgs
fn clone(&self) -> GenerateSnippetsArgs
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for GenerateSnippetsArgs
impl Debug for GenerateSnippetsArgs
Source§impl Default for GenerateSnippetsArgs
impl Default for GenerateSnippetsArgs
Source§fn default() -> GenerateSnippetsArgs
fn default() -> GenerateSnippetsArgs
Returns the “default value” for a type. Read more
Source§impl FromArgMatches for GenerateSnippetsArgs
impl FromArgMatches for GenerateSnippetsArgs
Source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
Source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches,
) -> Result<Self, Error>
fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches, ) -> Result<Self, Error>
Source§fn update_from_arg_matches(
&mut self,
__clap_arg_matches: &ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches( &mut self, __clap_arg_matches: &ArgMatches, ) -> Result<(), Error>
Assign values from
ArgMatches
to self
.Source§fn update_from_arg_matches_mut(
&mut self,
__clap_arg_matches: &mut ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches_mut( &mut self, __clap_arg_matches: &mut ArgMatches, ) -> Result<(), Error>
Assign values from
ArgMatches
to self
.Source§impl PartialEq for GenerateSnippetsArgs
impl PartialEq for GenerateSnippetsArgs
impl Eq for GenerateSnippetsArgs
impl StructuralPartialEq for GenerateSnippetsArgs
Auto Trait Implementations§
impl Freeze for GenerateSnippetsArgs
impl RefUnwindSafe for GenerateSnippetsArgs
impl Send for GenerateSnippetsArgs
impl Sync for GenerateSnippetsArgs
impl Unpin for GenerateSnippetsArgs
impl UnwindSafe for GenerateSnippetsArgs
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.