pub struct IpcConfig {
pub options: Vec<String>,
pub window_id: Option<i128>,
pub reset: bool,
}
Expand description
Parameters to the config
IPC subcommand.
Fields§
§options: Vec<String>
Configuration file options [example: cursor.style=Beam].
window_id: Option<i128>
Window ID for the new config.
Use -1
to apply this change to all windows.
reset: bool
Clear all runtime configuration changes.
Trait Implementations§
source§impl<'de> Deserialize<'de> for IpcConfig
impl<'de> Deserialize<'de> for IpcConfig
source§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
source§impl FromArgMatches for IpcConfig
impl FromArgMatches for IpcConfig
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<IpcConfig> for IpcConfig
impl PartialEq<IpcConfig> for IpcConfig
impl Eq for IpcConfig
impl StructuralEq for IpcConfig
impl StructuralPartialEq for IpcConfig
Auto Trait Implementations§
impl RefUnwindSafe for IpcConfig
impl Send for IpcConfig
impl Sync for IpcConfig
impl Unpin for IpcConfig
impl UnwindSafe for IpcConfig
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.