Union arceos_posix_api::ctypes::epoll_data
source · #[repr(C)]
pub union epoll_data {
pub ptr: *mut c_void,
pub fd: c_int,
pub u32_: u32,
pub u64_: u64,
}
Fields§
§ptr: *mut c_void
§fd: c_int
§u32_: u32
§u64_: u64
Trait Implementations§
source§impl Clone for epoll_data
impl Clone for epoll_data
source§fn clone(&self) -> epoll_data
fn clone(&self) -> epoll_data
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 Default for epoll_data
impl Default for epoll_data
impl Copy for epoll_data
Auto Trait Implementations§
impl RefUnwindSafe for epoll_data
impl !Send for epoll_data
impl !Sync for epoll_data
impl Unpin for epoll_data
impl UnwindSafe for epoll_data
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