Struct i3status_rs::protocol::i3bar_event::I3BarEvent
source · pub struct I3BarEvent {
pub id: usize,
pub instance: Option<String>,
pub button: MouseButton,
}
Fields§
§id: usize
§instance: Option<String>
Trait Implementations§
source§impl Clone for I3BarEvent
impl Clone for I3BarEvent
source§fn clone(&self) -> I3BarEvent
fn clone(&self) -> I3BarEvent
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 Debug for I3BarEvent
impl Debug for I3BarEvent
source§impl PartialEq for I3BarEvent
impl PartialEq for I3BarEvent
source§fn eq(&self, other: &I3BarEvent) -> bool
fn eq(&self, other: &I3BarEvent) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for I3BarEvent
impl StructuralPartialEq for I3BarEvent
Auto Trait Implementations§
impl Freeze for I3BarEvent
impl RefUnwindSafe for I3BarEvent
impl Send for I3BarEvent
impl Sync for I3BarEvent
impl Unpin for I3BarEvent
impl UnwindSafe for I3BarEvent
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
Mutably borrows from an owned value. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.