#[repr(C)]pub struct SlixPollerEvent {
pub type_: SlixPollerEventType,
pub data: *mut SlixPollerEventData,
}Expand description
Slix poller event structure.
Upon emission of an event, an instance of this struct will be passed to the callback.
Fields§
§type_: SlixPollerEventType< Type of emmitted event.
data: *mut SlixPollerEventData< Pointer to event specific data.
Trait Implementations§
Source§impl Clone for SlixPollerEvent
impl Clone for SlixPollerEvent
Source§fn clone(&self) -> SlixPollerEvent
fn clone(&self) -> SlixPollerEvent
Returns a duplicate 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 SlixPollerEvent
impl Debug for SlixPollerEvent
impl Copy for SlixPollerEvent
Auto Trait Implementations§
impl Freeze for SlixPollerEvent
impl RefUnwindSafe for SlixPollerEvent
impl !Send for SlixPollerEvent
impl !Sync for SlixPollerEvent
impl Unpin for SlixPollerEvent
impl UnwindSafe for SlixPollerEvent
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