pub struct ZshPluginArgs {
pub zsh_plugin_root: Option<Vec<FrameworkRootPair>>,
pub extend_zsh_plugin_root: Vec<FrameworkRootPair>,
pub zsh_plugin: Option<Vec<PatternFrameworkNameTriple>>,
pub extend_zsh_plugin: Vec<PatternFrameworkNameTriple>,
pub zsh_theme: Option<Vec<PatternFrameworkNameTriple>>,
pub extend_zsh_theme: Vec<PatternFrameworkNameTriple>,
pub zsh_plugin_entrypoint: Option<Vec<PatternPathPair>>,
pub extend_zsh_plugin_entrypoint: Vec<PatternPathPair>,
/* private fields */
}Expand description
Zsh plugin-resolution flags shared by shuck check.
Fields§
§zsh_plugin_root: Option<Vec<FrameworkRootPair>>Replace configured zsh plugin roots with the provided framework-to-path mappings.
extend_zsh_plugin_root: Vec<FrameworkRootPair>Add or replace individual zsh plugin roots on top of earlier config or CLI values.
zsh_plugin: Option<Vec<PatternFrameworkNameTriple>>Replace configured logical zsh plugin loads with the provided pattern-to-framework-to-name mappings.
extend_zsh_plugin: Vec<PatternFrameworkNameTriple>Add logical zsh plugin loads on top of earlier config or CLI values.
zsh_theme: Option<Vec<PatternFrameworkNameTriple>>Replace configured logical zsh theme loads with the provided pattern-to-framework-to-name mappings.
extend_zsh_theme: Vec<PatternFrameworkNameTriple>Add logical zsh theme loads on top of earlier config or CLI values.
zsh_plugin_entrypoint: Option<Vec<PatternPathPair>>Replace configured raw zsh plugin entrypoints with the provided pattern-to-path mappings.
extend_zsh_plugin_entrypoint: Vec<PatternPathPair>Add raw zsh plugin entrypoints on top of earlier config or CLI values.
Implementations§
Source§impl ZshPluginArgs
impl ZshPluginArgs
Sourcepub fn resolution(&self) -> Option<bool>
pub fn resolution(&self) -> Option<bool>
Returns the requested zsh plugin-resolution override, if any.
Trait Implementations§
Source§impl Args for ZshPluginArgs
impl Args for ZshPluginArgs
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
Command so it can instantiate self via
FromArgMatches::update_from_arg_matches_mut Read moreSource§impl Clone for ZshPluginArgs
impl Clone for ZshPluginArgs
Source§fn clone(&self) -> ZshPluginArgs
fn clone(&self) -> ZshPluginArgs
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for ZshPluginArgs
impl Debug for ZshPluginArgs
Source§impl Default for ZshPluginArgs
impl Default for ZshPluginArgs
Source§fn default() -> ZshPluginArgs
fn default() -> ZshPluginArgs
Source§impl FromArgMatches for ZshPluginArgs
impl FromArgMatches for ZshPluginArgs
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>
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>
ArgMatches to self.Auto Trait Implementations§
impl Freeze for ZshPluginArgs
impl RefUnwindSafe for ZshPluginArgs
impl Send for ZshPluginArgs
impl Sync for ZshPluginArgs
impl Unpin for ZshPluginArgs
impl UnsafeUnpin for ZshPluginArgs
impl UnwindSafe for ZshPluginArgs
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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>
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>
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