Enum swayr::cmds::ConsiderWindows [−][src]
pub enum ConsiderWindows {
AllWorkspaces,
CurrentWorkspace,
}
Variants
AllWorkspaces
Consider windows of all workspaces.
CurrentWorkspace
Consider windows of only the current workspaces.
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Instantiate Self
from ArgMatches
, parsing the arguments as needed. Read more
fn update_from_arg_matches<'b>(
&mut self,
__clap_arg_matches: &ArgMatches
) -> Result<(), Error>
fn update_from_arg_matches<'b>(
&mut self,
__clap_arg_matches: &ArgMatches
) -> Result<(), Error>
Assign values from ArgMatches
to self
.
fn parse_from<I, T>(itr: I) -> Self where
I: IntoIterator<Item = T>,
T: Into<OsString> + Clone,
fn parse_from<I, T>(itr: I) -> Self where
I: IntoIterator<Item = T>,
T: Into<OsString> + Clone,
Parse from iterator, exit on error
fn try_parse_from<I, T>(itr: I) -> Result<Self, Error> where
I: IntoIterator<Item = T>,
T: Into<OsString> + Clone,
fn try_parse_from<I, T>(itr: I) -> Result<Self, Error> where
I: IntoIterator<Item = T>,
T: Into<OsString> + Clone,
Parse from iterator, return Err on error.
fn update_from<I, T>(&mut self, itr: I) where
I: IntoIterator<Item = T>,
T: Into<OsString> + Clone,
fn update_from<I, T>(&mut self, itr: I) where
I: IntoIterator<Item = T>,
T: Into<OsString> + Clone,
Update from iterator, exit on error
fn try_update_from<I, T>(&mut self, itr: I) -> Result<(), Error> where
I: IntoIterator<Item = T>,
T: Into<OsString> + Clone,
fn try_update_from<I, T>(&mut self, itr: I) -> Result<(), Error> where
I: IntoIterator<Item = T>,
T: Into<OsString> + Clone,
Update from iterator, return Err on error.
StructOpt::clap
is replaced with IntoApp::into_app
(derived as part of Parser
)
Deprecated, StructOpt::clap
replaced with IntoApp::into_app
(derive as part of
Parser
) Read more
StructOpt::clap
is replaced with IntoApp::into_app
(derived as part of Parser
)
Deprecated, StructOpt::from_clap
replaced with FromArgMatches::from_arg_matches
(derive as part of
Parser
) Read more
StructOpt::from_args
is replaced with Parser::parse
(note the change in derives)
Deprecated, StructOpt::from_args
replaced with Parser::parse
(note the change in derives)
StructOpt::from_args_safe
is replaced with Parser::try_parse
(note the change in derives)
Deprecated, StructOpt::from_args_safe
replaced with Parser::try_parse
(note the change in derives)
StructOpt::from_iter
is replaced with Parser::parse_from
(note the change in derives)
Deprecated, StructOpt::from_iter
replaced with Parser::parse_from
(note the change in derives)
fn from_iter_safe<I, T>(itr: I) -> Result<Self, Error> where
I: IntoIterator<Item = T>,
T: Into<OsString> + Clone,
fn from_iter_safe<I, T>(itr: I) -> Result<Self, Error> where
I: IntoIterator<Item = T>,
T: Into<OsString> + Clone,
StructOpt::from_iter_safe
is replaced with Parser::try_parse_from
(note the change in derives)
Deprecated, StructOpt::from_iter_safe
replaced with Parser::try_parse_from
(note the
change in derives) Read more
Test whether Self
can parse a specific subcommand
Auto Trait Implementations
impl RefUnwindSafe for ConsiderWindows
impl Send for ConsiderWindows
impl Sync for ConsiderWindows
impl Unpin for ConsiderWindows
impl UnwindSafe for ConsiderWindows
Blanket Implementations
Mutably borrows from an owned value. Read more