[−][src]Struct clipboard_x11::Event
Event
wraps a pointer to xcb_*_event_t
this pointer will be freed when the Event
goes out of scope
Fields
ptr: *mut T
Methods
impl<T> Event<T>
[src]
pub fn response_type(&self) -> u8
[src]
impl Event<xcb_key_press_event_t>
[src]
pub fn detail(&self) -> u8
[src]
The keycode (a number representing a physical key on the keyboard) of the key which was pressed.
pub fn time(&self) -> u32
[src]
Time when the event was generated (in milliseconds).
pub fn root(&self) -> u32
[src]
The root window of child
.
pub fn event(&self) -> u32
[src]
pub fn child(&self) -> u32
[src]
pub fn root_x(&self) -> i16
[src]
The X coordinate of the pointer relative to the root
window at the time of
the event.
pub fn root_y(&self) -> i16
[src]
The Y coordinate of the pointer relative to the root
window at the time of
the event.
pub fn event_x(&self) -> i16
[src]
If same_screen
is true, this is the X coordinate relative to the event
window's origin. Otherwise, event_x
will be set to zero.
pub fn event_y(&self) -> i16
[src]
If same_screen
is true, this is the Y coordinate relative to the event
window's origin. Otherwise, event_y
will be set to zero.
pub fn state(&self) -> u16
[src]
The logical state of the pointer buttons and modifier keys just prior to the event.
pub fn same_screen(&self) -> bool
[src]
Whether the event
window is on the same screen as the root
window.
pub fn new(
response_type: u8,
detail: u8,
time: u32,
root: u32,
event: u32,
child: u32,
root_x: i16,
root_y: i16,
event_x: i16,
event_y: i16,
state: u16,
same_screen: bool
) -> Event<xcb_key_press_event_t>
[src]
response_type: u8,
detail: u8,
time: u32,
root: u32,
event: u32,
child: u32,
root_x: i16,
root_y: i16,
event_x: i16,
event_y: i16,
state: u16,
same_screen: bool
) -> Event<xcb_key_press_event_t>
Constructs a new KeyPressEvent
response_type
must be set to one of:
- KEY_PRESS
- KEY_RELEASE
impl Event<xcb_button_press_event_t>
[src]
pub fn detail(&self) -> u8
[src]
The keycode (a number representing a physical key on the keyboard) of the key which was pressed.
pub fn time(&self) -> u32
[src]
Time when the event was generated (in milliseconds).
pub fn root(&self) -> u32
[src]
The root window of child
.
pub fn event(&self) -> u32
[src]
pub fn child(&self) -> u32
[src]
pub fn root_x(&self) -> i16
[src]
The X coordinate of the pointer relative to the root
window at the time of
the event.
pub fn root_y(&self) -> i16
[src]
The Y coordinate of the pointer relative to the root
window at the time of
the event.
pub fn event_x(&self) -> i16
[src]
If same_screen
is true, this is the X coordinate relative to the event
window's origin. Otherwise, event_x
will be set to zero.
pub fn event_y(&self) -> i16
[src]
If same_screen
is true, this is the Y coordinate relative to the event
window's origin. Otherwise, event_y
will be set to zero.
pub fn state(&self) -> u16
[src]
The logical state of the pointer buttons and modifier keys just prior to the event.
pub fn same_screen(&self) -> bool
[src]
Whether the event
window is on the same screen as the root
window.
pub fn new(
response_type: u8,
detail: u8,
time: u32,
root: u32,
event: u32,
child: u32,
root_x: i16,
root_y: i16,
event_x: i16,
event_y: i16,
state: u16,
same_screen: bool
) -> Event<xcb_button_press_event_t>
[src]
response_type: u8,
detail: u8,
time: u32,
root: u32,
event: u32,
child: u32,
root_x: i16,
root_y: i16,
event_x: i16,
event_y: i16,
state: u16,
same_screen: bool
) -> Event<xcb_button_press_event_t>
Constructs a new ButtonPressEvent
response_type
must be set to one of:
- BUTTON_PRESS
- BUTTON_RELEASE
impl Event<xcb_motion_notify_event_t>
[src]
pub fn detail(&self) -> u8
[src]
The keycode (a number representing a physical key on the keyboard) of the key which was pressed.
pub fn time(&self) -> u32
[src]
Time when the event was generated (in milliseconds).
pub fn root(&self) -> u32
[src]
The root window of child
.
pub fn event(&self) -> u32
[src]
pub fn child(&self) -> u32
[src]
pub fn root_x(&self) -> i16
[src]
The X coordinate of the pointer relative to the root
window at the time of
the event.
pub fn root_y(&self) -> i16
[src]
The Y coordinate of the pointer relative to the root
window at the time of
the event.
pub fn event_x(&self) -> i16
[src]
If same_screen
is true, this is the X coordinate relative to the event
window's origin. Otherwise, event_x
will be set to zero.
pub fn event_y(&self) -> i16
[src]
If same_screen
is true, this is the Y coordinate relative to the event
window's origin. Otherwise, event_y
will be set to zero.
pub fn state(&self) -> u16
[src]
The logical state of the pointer buttons and modifier keys just prior to the event.
pub fn same_screen(&self) -> bool
[src]
Whether the event
window is on the same screen as the root
window.
pub fn new(
detail: u8,
time: u32,
root: u32,
event: u32,
child: u32,
root_x: i16,
root_y: i16,
event_x: i16,
event_y: i16,
state: u16,
same_screen: bool
) -> Event<xcb_motion_notify_event_t>
[src]
detail: u8,
time: u32,
root: u32,
event: u32,
child: u32,
root_x: i16,
root_y: i16,
event_x: i16,
event_y: i16,
state: u16,
same_screen: bool
) -> Event<xcb_motion_notify_event_t>
Constructs a new MotionNotifyEvent
response_type
will be set automatically to MOTION_NOTIFY
impl Event<xcb_enter_notify_event_t>
[src]
pub fn detail(&self) -> u8
[src]
pub fn time(&self) -> u32
[src]
pub fn root(&self) -> u32
[src]
The root window for the final cursor position.
pub fn event(&self) -> u32
[src]
The window on which the event was generated.
pub fn child(&self) -> u32
[src]
If the event
window has subwindows and the final pointer position is in one
of them, then child
is set to that subwindow, XCB_WINDOW_NONE
otherwise.
pub fn root_x(&self) -> i16
[src]
The pointer X coordinate relative to root
's origin at the time of the event.
pub fn root_y(&self) -> i16
[src]
The pointer Y coordinate relative to root
's origin at the time of the event.
pub fn event_x(&self) -> i16
[src]
If event
is on the same screen as root
, this is the pointer X coordinate
relative to the event window's origin.
pub fn event_y(&self) -> i16
[src]
If event
is on the same screen as root
, this is the pointer Y coordinate
relative to the event window's origin.
pub fn state(&self) -> u16
[src]
pub fn mode(&self) -> u8
[src]
pub fn same_screen_focus(&self) -> u8
[src]
pub fn new(
response_type: u8,
detail: u8,
time: u32,
root: u32,
event: u32,
child: u32,
root_x: i16,
root_y: i16,
event_x: i16,
event_y: i16,
state: u16,
mode: u8,
same_screen_focus: u8
) -> Event<xcb_enter_notify_event_t>
[src]
response_type: u8,
detail: u8,
time: u32,
root: u32,
event: u32,
child: u32,
root_x: i16,
root_y: i16,
event_x: i16,
event_y: i16,
state: u16,
mode: u8,
same_screen_focus: u8
) -> Event<xcb_enter_notify_event_t>
Constructs a new EnterNotifyEvent
response_type
must be set to one of:
- ENTER_NOTIFY
- LEAVE_NOTIFY
impl Event<xcb_focus_in_event_t>
[src]
pub fn detail(&self) -> u8
[src]
pub fn event(&self) -> u32
[src]
The window on which the focus event was generated. This is the window used by the X server to report the event.
pub fn mode(&self) -> u8
[src]
pub fn new(
response_type: u8,
detail: u8,
event: u32,
mode: u8
) -> Event<xcb_focus_in_event_t>
[src]
response_type: u8,
detail: u8,
event: u32,
mode: u8
) -> Event<xcb_focus_in_event_t>
Constructs a new FocusInEvent
response_type
must be set to one of:
- FOCUS_IN
- FOCUS_OUT
impl Event<xcb_keymap_notify_event_t>
[src]
pub fn keys(&self) -> &[u8]
[src]
pub fn new(keys: [u8; 31]) -> Event<xcb_keymap_notify_event_t>
[src]
Constructs a new KeymapNotifyEvent
response_type
will be set automatically to KEYMAP_NOTIFY
impl Event<xcb_expose_event_t>
[src]
pub fn window(&self) -> u32
[src]
The exposed (damaged) window.
pub fn x(&self) -> u16
[src]
The X coordinate of the left-upper corner of the exposed rectangle, relative to
the window
's origin.
pub fn y(&self) -> u16
[src]
The Y coordinate of the left-upper corner of the exposed rectangle, relative to
the window
's origin.
pub fn width(&self) -> u16
[src]
The width of the exposed rectangle.
pub fn height(&self) -> u16
[src]
The height of the exposed rectangle.
pub fn count(&self) -> u16
[src]
The amount of Expose
events following this one. Simple applications that do
not want to optimize redisplay by distinguishing between subareas of its window
can just ignore all Expose events with nonzero counts and perform full
redisplays on events with zero counts.
pub fn new(
window: u32,
x: u16,
y: u16,
width: u16,
height: u16,
count: u16
) -> Event<xcb_expose_event_t>
[src]
window: u32,
x: u16,
y: u16,
width: u16,
height: u16,
count: u16
) -> Event<xcb_expose_event_t>
Constructs a new ExposeEvent
response_type
will be set automatically to EXPOSE
impl Event<xcb_graphics_exposure_event_t>
[src]
pub fn drawable(&self) -> u32
[src]
pub fn x(&self) -> u16
[src]
pub fn y(&self) -> u16
[src]
pub fn width(&self) -> u16
[src]
pub fn height(&self) -> u16
[src]
pub fn minor_opcode(&self) -> u16
[src]
pub fn count(&self) -> u16
[src]
pub fn major_opcode(&self) -> u8
[src]
pub fn new(
drawable: u32,
x: u16,
y: u16,
width: u16,
height: u16,
minor_opcode: u16,
count: u16,
major_opcode: u8
) -> Event<xcb_graphics_exposure_event_t>
[src]
drawable: u32,
x: u16,
y: u16,
width: u16,
height: u16,
minor_opcode: u16,
count: u16,
major_opcode: u8
) -> Event<xcb_graphics_exposure_event_t>
Constructs a new GraphicsExposureEvent
response_type
will be set automatically to GRAPHICS_EXPOSURE
impl Event<xcb_no_exposure_event_t>
[src]
pub fn drawable(&self) -> u32
[src]
pub fn minor_opcode(&self) -> u16
[src]
pub fn major_opcode(&self) -> u8
[src]
pub fn new(
drawable: u32,
minor_opcode: u16,
major_opcode: u8
) -> Event<xcb_no_exposure_event_t>
[src]
drawable: u32,
minor_opcode: u16,
major_opcode: u8
) -> Event<xcb_no_exposure_event_t>
Constructs a new NoExposureEvent
response_type
will be set automatically to NO_EXPOSURE
impl Event<xcb_visibility_notify_event_t>
[src]
pub fn window(&self) -> u32
[src]
pub fn state(&self) -> u8
[src]
pub fn new(window: u32, state: u8) -> Event<xcb_visibility_notify_event_t>
[src]
Constructs a new VisibilityNotifyEvent
response_type
will be set automatically to VISIBILITY_NOTIFY
impl Event<xcb_create_notify_event_t>
[src]
pub fn parent(&self) -> u32
[src]
pub fn window(&self) -> u32
[src]
pub fn x(&self) -> i16
[src]
pub fn y(&self) -> i16
[src]
pub fn width(&self) -> u16
[src]
pub fn height(&self) -> u16
[src]
pub fn border_width(&self) -> u16
[src]
pub fn override_redirect(&self) -> bool
[src]
pub fn new(
parent: u32,
window: u32,
x: i16,
y: i16,
width: u16,
height: u16,
border_width: u16,
override_redirect: bool
) -> Event<xcb_create_notify_event_t>
[src]
parent: u32,
window: u32,
x: i16,
y: i16,
width: u16,
height: u16,
border_width: u16,
override_redirect: bool
) -> Event<xcb_create_notify_event_t>
Constructs a new CreateNotifyEvent
response_type
will be set automatically to CREATE_NOTIFY
impl Event<xcb_destroy_notify_event_t>
[src]
pub fn event(&self) -> u32
[src]
The reconfigured window or its parent, depending on whether StructureNotify
or SubstructureNotify
was selected.
pub fn window(&self) -> u32
[src]
The window that is destroyed.
pub fn new(event: u32, window: u32) -> Event<xcb_destroy_notify_event_t>
[src]
Constructs a new DestroyNotifyEvent
response_type
will be set automatically to DESTROY_NOTIFY
impl Event<xcb_unmap_notify_event_t>
[src]
pub fn event(&self) -> u32
[src]
The reconfigured window or its parent, depending on whether StructureNotify
or SubstructureNotify
was selected.
pub fn window(&self) -> u32
[src]
The window that was unmapped.
pub fn from_configure(&self) -> bool
[src]
Set to 1 if the event was generated as a result of a resizing of the window's
parent when window
had a win_gravity of UnmapGravity
.
pub fn new(
event: u32,
window: u32,
from_configure: bool
) -> Event<xcb_unmap_notify_event_t>
[src]
event: u32,
window: u32,
from_configure: bool
) -> Event<xcb_unmap_notify_event_t>
Constructs a new UnmapNotifyEvent
response_type
will be set automatically to UNMAP_NOTIFY
impl Event<xcb_map_notify_event_t>
[src]
pub fn event(&self) -> u32
[src]
The window which was mapped or its parent, depending on whether
StructureNotify
or SubstructureNotify
was selected.
pub fn window(&self) -> u32
[src]
The window that was mapped.
pub fn override_redirect(&self) -> bool
[src]
Window managers should ignore this window if override_redirect
is 1.
pub fn new(
event: u32,
window: u32,
override_redirect: bool
) -> Event<xcb_map_notify_event_t>
[src]
event: u32,
window: u32,
override_redirect: bool
) -> Event<xcb_map_notify_event_t>
Constructs a new MapNotifyEvent
response_type
will be set automatically to MAP_NOTIFY
impl Event<xcb_map_request_event_t>
[src]
pub fn parent(&self) -> u32
[src]
The parent of window
.
pub fn window(&self) -> u32
[src]
The window to be mapped.
pub fn new(parent: u32, window: u32) -> Event<xcb_map_request_event_t>
[src]
Constructs a new MapRequestEvent
response_type
will be set automatically to MAP_REQUEST
impl Event<xcb_reparent_notify_event_t>
[src]
pub fn event(&self) -> u32
[src]
pub fn window(&self) -> u32
[src]
pub fn parent(&self) -> u32
[src]
pub fn x(&self) -> i16
[src]
pub fn y(&self) -> i16
[src]
pub fn override_redirect(&self) -> bool
[src]
pub fn new(
event: u32,
window: u32,
parent: u32,
x: i16,
y: i16,
override_redirect: bool
) -> Event<xcb_reparent_notify_event_t>
[src]
event: u32,
window: u32,
parent: u32,
x: i16,
y: i16,
override_redirect: bool
) -> Event<xcb_reparent_notify_event_t>
Constructs a new ReparentNotifyEvent
response_type
will be set automatically to REPARENT_NOTIFY
impl Event<xcb_configure_notify_event_t>
[src]
pub fn event(&self) -> u32
[src]
The reconfigured window or its parent, depending on whether StructureNotify
or SubstructureNotify
was selected.
pub fn window(&self) -> u32
[src]
The window whose size, position, border, and/or stacking order was changed.
pub fn above_sibling(&self) -> u32
[src]
If XCB_NONE
, the window
is on the bottom of the stack with respect to
sibling windows. However, if set to a sibling window, the window
is placed on
top of this sibling window.
pub fn x(&self) -> i16
[src]
The X coordinate of the upper-left outside corner of window
, relative to the
parent window's origin.
pub fn y(&self) -> i16
[src]
The Y coordinate of the upper-left outside corner of window
, relative to the
parent window's origin.
pub fn width(&self) -> u16
[src]
The inside width of window
, not including the border.
pub fn height(&self) -> u16
[src]
The inside height of window
, not including the border.
pub fn border_width(&self) -> u16
[src]
The border width of window
.
pub fn override_redirect(&self) -> bool
[src]
Window managers should ignore this window if override_redirect
is 1.
pub fn new(
event: u32,
window: u32,
above_sibling: u32,
x: i16,
y: i16,
width: u16,
height: u16,
border_width: u16,
override_redirect: bool
) -> Event<xcb_configure_notify_event_t>
[src]
event: u32,
window: u32,
above_sibling: u32,
x: i16,
y: i16,
width: u16,
height: u16,
border_width: u16,
override_redirect: bool
) -> Event<xcb_configure_notify_event_t>
Constructs a new ConfigureNotifyEvent
response_type
will be set automatically to CONFIGURE_NOTIFY
impl Event<xcb_configure_request_event_t>
[src]
pub fn stack_mode(&self) -> u8
[src]
pub fn parent(&self) -> u32
[src]
pub fn window(&self) -> u32
[src]
pub fn sibling(&self) -> u32
[src]
pub fn x(&self) -> i16
[src]
pub fn y(&self) -> i16
[src]
pub fn width(&self) -> u16
[src]
pub fn height(&self) -> u16
[src]
pub fn border_width(&self) -> u16
[src]
pub fn value_mask(&self) -> u16
[src]
pub fn new(
stack_mode: u8,
parent: u32,
window: u32,
sibling: u32,
x: i16,
y: i16,
width: u16,
height: u16,
border_width: u16,
value_mask: u16
) -> Event<xcb_configure_request_event_t>
[src]
stack_mode: u8,
parent: u32,
window: u32,
sibling: u32,
x: i16,
y: i16,
width: u16,
height: u16,
border_width: u16,
value_mask: u16
) -> Event<xcb_configure_request_event_t>
Constructs a new ConfigureRequestEvent
response_type
will be set automatically to CONFIGURE_REQUEST
impl Event<xcb_gravity_notify_event_t>
[src]
pub fn event(&self) -> u32
[src]
pub fn window(&self) -> u32
[src]
pub fn x(&self) -> i16
[src]
pub fn y(&self) -> i16
[src]
pub fn new(
event: u32,
window: u32,
x: i16,
y: i16
) -> Event<xcb_gravity_notify_event_t>
[src]
event: u32,
window: u32,
x: i16,
y: i16
) -> Event<xcb_gravity_notify_event_t>
Constructs a new GravityNotifyEvent
response_type
will be set automatically to GRAVITY_NOTIFY
impl Event<xcb_resize_request_event_t>
[src]
pub fn window(&self) -> u32
[src]
pub fn width(&self) -> u16
[src]
pub fn height(&self) -> u16
[src]
pub fn new(
window: u32,
width: u16,
height: u16
) -> Event<xcb_resize_request_event_t>
[src]
window: u32,
width: u16,
height: u16
) -> Event<xcb_resize_request_event_t>
Constructs a new ResizeRequestEvent
response_type
will be set automatically to RESIZE_REQUEST
impl Event<xcb_circulate_notify_event_t>
[src]
pub fn event(&self) -> u32
[src]
Either the restacked window or its parent, depending on whether
StructureNotify
or SubstructureNotify
was selected.
pub fn window(&self) -> u32
[src]
The restacked window.
pub fn place(&self) -> u8
[src]
pub fn new(
response_type: u8,
event: u32,
window: u32,
place: u8
) -> Event<xcb_circulate_notify_event_t>
[src]
response_type: u8,
event: u32,
window: u32,
place: u8
) -> Event<xcb_circulate_notify_event_t>
Constructs a new CirculateNotifyEvent
response_type
must be set to one of:
- CIRCULATE_NOTIFY
- CIRCULATE_REQUEST
impl Event<xcb_property_notify_event_t>
[src]
pub fn window(&self) -> u32
[src]
The window whose associated property was changed.
pub fn atom(&self) -> u32
[src]
The property's atom, to indicate which property was changed.
pub fn time(&self) -> u32
[src]
A timestamp of the server time when the property was changed.
pub fn state(&self) -> u8
[src]
pub fn new(
window: u32,
atom: u32,
time: u32,
state: u8
) -> Event<xcb_property_notify_event_t>
[src]
window: u32,
atom: u32,
time: u32,
state: u8
) -> Event<xcb_property_notify_event_t>
Constructs a new PropertyNotifyEvent
response_type
will be set automatically to PROPERTY_NOTIFY
impl Event<xcb_selection_clear_event_t>
[src]
pub fn time(&self) -> u32
[src]
pub fn owner(&self) -> u32
[src]
pub fn selection(&self) -> u32
[src]
pub fn new(
time: u32,
owner: u32,
selection: u32
) -> Event<xcb_selection_clear_event_t>
[src]
time: u32,
owner: u32,
selection: u32
) -> Event<xcb_selection_clear_event_t>
Constructs a new SelectionClearEvent
response_type
will be set automatically to SELECTION_CLEAR
impl Event<xcb_selection_request_event_t>
[src]
pub fn time(&self) -> u32
[src]
pub fn owner(&self) -> u32
[src]
pub fn requestor(&self) -> u32
[src]
pub fn selection(&self) -> u32
[src]
pub fn target(&self) -> u32
[src]
pub fn property(&self) -> u32
[src]
pub fn new(
time: u32,
owner: u32,
requestor: u32,
selection: u32,
target: u32,
property: u32
) -> Event<xcb_selection_request_event_t>
[src]
time: u32,
owner: u32,
requestor: u32,
selection: u32,
target: u32,
property: u32
) -> Event<xcb_selection_request_event_t>
Constructs a new SelectionRequestEvent
response_type
will be set automatically to SELECTION_REQUEST
impl Event<xcb_selection_notify_event_t>
[src]
pub fn time(&self) -> u32
[src]
pub fn requestor(&self) -> u32
[src]
pub fn selection(&self) -> u32
[src]
pub fn target(&self) -> u32
[src]
pub fn property(&self) -> u32
[src]
pub fn new(
time: u32,
requestor: u32,
selection: u32,
target: u32,
property: u32
) -> Event<xcb_selection_notify_event_t>
[src]
time: u32,
requestor: u32,
selection: u32,
target: u32,
property: u32
) -> Event<xcb_selection_notify_event_t>
Constructs a new SelectionNotifyEvent
response_type
will be set automatically to SELECTION_NOTIFY
impl Event<xcb_colormap_notify_event_t>
[src]
pub fn window(&self) -> u32
[src]
The window whose associated colormap is changed, installed or uninstalled.
pub fn colormap(&self) -> u32
[src]
The colormap which is changed, installed or uninstalled. This is XCB_NONE
when the colormap is changed by a call to FreeColormap
.
pub fn new_(&self) -> bool
[src]
pub fn state(&self) -> u8
[src]
pub fn new(
window: u32,
colormap: u32,
new_: bool,
state: u8
) -> Event<xcb_colormap_notify_event_t>
[src]
window: u32,
colormap: u32,
new_: bool,
state: u8
) -> Event<xcb_colormap_notify_event_t>
Constructs a new ColormapNotifyEvent
response_type
will be set automatically to COLORMAP_NOTIFY
impl Event<xcb_client_message_event_t>
[src]
pub fn format(&self) -> u8
[src]
Specifies how to interpret data
. Can be either 8, 16 or 32.
pub fn window(&self) -> u32
[src]
pub fn type_(&self) -> u32
[src]
An atom which indicates how the data should be interpreted by the receiving client.
pub fn data(&'a self) -> &'a xcb_client_message_data_t
[src]
The data itself (20 bytes max).
pub fn new(
format: u8,
window: u32,
type_: u32,
data: xcb_client_message_data_t
) -> Event<xcb_client_message_event_t>
[src]
format: u8,
window: u32,
type_: u32,
data: xcb_client_message_data_t
) -> Event<xcb_client_message_event_t>
Constructs a new ClientMessageEvent
response_type
will be set automatically to CLIENT_MESSAGE
impl Event<xcb_mapping_notify_event_t>
[src]
pub fn request(&self) -> u8
[src]
pub fn first_keycode(&self) -> u8
[src]
The first number in the range of the altered mapping.
pub fn count(&self) -> u8
[src]
The number of keycodes altered.
pub fn new(
request: u8,
first_keycode: u8,
count: u8
) -> Event<xcb_mapping_notify_event_t>
[src]
request: u8,
first_keycode: u8,
count: u8
) -> Event<xcb_mapping_notify_event_t>
Constructs a new MappingNotifyEvent
response_type
will be set automatically to MAPPING_NOTIFY
impl Event<xcb_ge_generic_event_t>
[src]
pub fn new() -> Event<xcb_ge_generic_event_t>
[src]
Constructs a new GeGenericEvent
response_type
will be set automatically to GE_GENERIC
Trait Implementations
Auto Trait Implementations
impl<T> RefUnwindSafe for Event<T> where
T: RefUnwindSafe,
T: RefUnwindSafe,
impl<T> Unpin for Event<T>
impl<T> UnwindSafe for Event<T> where
T: RefUnwindSafe,
T: RefUnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,