Struct linux_api::poll::linux_pollfd
source · #[repr(C)]pub struct linux_pollfd {
pub fd: c_int,
pub events: c_short,
pub revents: c_short,
}
Fields§
§fd: c_int
§events: c_short
§revents: c_short
Trait Implementations§
source§impl Clone for linux_pollfd
impl Clone for linux_pollfd
source§fn clone(&self) -> linux_pollfd
fn clone(&self) -> linux_pollfd
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 linux_pollfd
impl Debug for linux_pollfd
source§impl PartialEq for linux_pollfd
impl PartialEq for linux_pollfd
impl Copy for linux_pollfd
impl Eq for linux_pollfd
impl StructuralPartialEq for linux_pollfd
Auto Trait Implementations§
impl Freeze for linux_pollfd
impl RefUnwindSafe for linux_pollfd
impl Send for linux_pollfd
impl Sync for linux_pollfd
impl Unpin for linux_pollfd
impl UnwindSafe for linux_pollfd
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,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)