[][src]Struct swaybar_types::Click

pub struct Click {
    pub name: String,
    pub instance: Option<String>,
    pub x: u32,
    pub y: u32,
    pub button: Button,
    pub event: u32,
    pub relative_x: u32,
    pub relative_y: u32,
    pub width: u32,
    pub height: u32,
}

Fields

name: Stringinstance: Option<String>x: u32y: u32button: Buttonevent: u32relative_x: u32relative_y: u32width: u32height: u32

Trait Implementations

impl Clone for Click[src]

impl Debug for Click[src]

impl<'de> Deserialize<'de> for Click[src]

impl Serialize for Click[src]

Auto Trait Implementations

impl RefUnwindSafe for Click

impl Send for Click

impl Sync for Click

impl Unpin for Click

impl UnwindSafe for Click

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.