#[repr(C, packed(1))]pub struct epoll_event {
pub events: __poll_t,
pub data: __u64,
}
Fields§
§events: __poll_t
§data: __u64
Trait Implementations§
Source§impl Clone for epoll_event
impl Clone for epoll_event
Source§fn clone(&self) -> epoll_event
fn clone(&self) -> epoll_event
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 epoll_event
impl Debug for epoll_event
impl Copy for epoll_event
Auto Trait Implementations§
impl Freeze for epoll_event
impl RefUnwindSafe for epoll_event
impl Send for epoll_event
impl Sync for epoll_event
impl Unpin for epoll_event
impl UnwindSafe for epoll_event
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 12 bytes