Struct rui::CommandInfo
source · pub struct CommandInfo {
pub path: String,
pub key: Option<HotKey>,
}
Fields§
§path: String
§key: Option<HotKey>
Trait Implementations§
source§impl Clone for CommandInfo
impl Clone for CommandInfo
source§fn clone(&self) -> CommandInfo
fn clone(&self) -> CommandInfo
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 PartialEq<CommandInfo> for CommandInfo
impl PartialEq<CommandInfo> for CommandInfo
source§fn eq(&self, other: &CommandInfo) -> bool
fn eq(&self, other: &CommandInfo) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for CommandInfo
impl StructuralEq for CommandInfo
impl StructuralPartialEq for CommandInfo
Auto Trait Implementations§
impl RefUnwindSafe for CommandInfo
impl Send for CommandInfo
impl Sync for CommandInfo
impl Unpin for CommandInfo
impl UnwindSafe for CommandInfo
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.