#[repr(C)]
pub struct XButtonEvent {
Show 15 fields pub type_: i32, pub serial: u64, pub send_event: i32, pub display: *mut _XDisplay, pub window: u64, pub root: u64, pub subwindow: u64, pub time: u64, pub x: i32, pub y: i32, pub x_root: i32, pub y_root: i32, pub state: u32, pub button: u32, pub same_screen: i32,
}

Fields

type_: i32serial: u64send_event: i32display: *mut _XDisplaywindow: u64root: u64subwindow: u64time: u64x: i32y: i32x_root: i32y_root: i32state: u32button: u32same_screen: i32

Trait Implementations

Converts this type into a mutable reference of the (usually inferred) input type.

Converts this type into a shared reference of the (usually inferred) input type.

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Converts to this type from the input type.

Converts to this type from the input type.

Converts to this type from the input type.

Converts to this type from the input type.

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.