Struct libc::itimerspec
source · #[repr(C)]pub struct itimerspec {
pub it_interval: timespec,
pub it_value: timespec,
}
Fields§
§it_interval: timespec
§it_value: timespec
Trait Implementations§
source§impl Clone for itimerspec
impl Clone for itimerspec
source§fn clone(&self) -> itimerspec
fn clone(&self) -> itimerspec
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 itimerspec
impl Debug for itimerspec
source§impl Hash for itimerspec
impl Hash for itimerspec
source§impl PartialEq for itimerspec
impl PartialEq for itimerspec
source§fn eq(&self, other: &itimerspec) -> bool
fn eq(&self, other: &itimerspec) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for itimerspec
impl Eq for itimerspec
impl StructuralPartialEq for itimerspec
Auto Trait Implementations§
impl Freeze for itimerspec
impl RefUnwindSafe for itimerspec
impl Send for itimerspec
impl Sync for itimerspec
impl Unpin for itimerspec
impl UnwindSafe for itimerspec
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: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
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
)source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)