Enum swayr::ipc::SwayrCommand [−][src]
Variants
Switch to next urgent window (if any) or to last recently used window.
Focus the selected window
Focus the next window.
Focus the previous window.
Quit the selected window
Switch to the selected workspace
Switch to the selected workspace or focus the selected window
Quit all windows of selected workspace or the selected window
Select and execute a swaymsg command
Select and execute a swayr command
Trait Implementations
impl ArgEnum for SwayrCommand
[src]
const VARIANTS: &'static [&'static str]
[src]
fn from_str(input: &str, case_insensitive: bool) -> Result<Self, String>
[src]
impl Clap for SwayrCommand
[src]
pub fn parse() -> Self
[src]
pub fn try_parse() -> Result<Self, Error>
[src]
pub fn parse_from<I, T>(itr: I) -> Self where
T: Into<OsString> + Clone,
I: IntoIterator<Item = T>,
[src]
T: Into<OsString> + Clone,
I: IntoIterator<Item = T>,
pub fn try_parse_from<I, T>(itr: I) -> Result<Self, Error> where
T: Into<OsString> + Clone,
I: IntoIterator<Item = T>,
[src]
T: Into<OsString> + Clone,
I: IntoIterator<Item = T>,
impl Debug for SwayrCommand
[src]
impl<'de> Deserialize<'de> for SwayrCommand
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Display for SwayrCommand
[src]
impl FromArgMatches for SwayrCommand
[src]
fn from_arg_matches(matches: &ArgMatches) -> Self
[src]
impl IntoApp for SwayrCommand
[src]
impl Serialize for SwayrCommand
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl Subcommand for SwayrCommand
[src]
fn augment_subcommands<'b>(app: App<'b>) -> App<'b>
[src]
fn from_subcommand(subcommand: Option<(&str, &ArgMatches)>) -> Option<Self>
[src]
Auto Trait Implementations
impl RefUnwindSafe for SwayrCommand
impl Send for SwayrCommand
impl Sync for SwayrCommand
impl Unpin for SwayrCommand
impl UnwindSafe for SwayrCommand
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,