#[repr(C)]pub struct itimerspec {
pub it_interval: timespec,
pub it_value: timespec,
}Fields§
§it_interval: timespec§it_value: timespecTrait Implementations§
Source§impl Clone for itimerspec
impl Clone for itimerspec
Source§fn clone(&self) -> itimerspec
fn clone(&self) -> itimerspec
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 itimerspec
impl Debug for itimerspec
Source§impl<TIMERTYPE: ModeTimeType> From<&TimerExpMode<TIMERTYPE>> for itimerspec
Converts from the reference to TimerExpMode of the TIMERTYPE into the
itimerspec.
impl<TIMERTYPE: ModeTimeType> From<&TimerExpMode<TIMERTYPE>> for itimerspec
Converts from the reference to TimerExpMode of the TIMERTYPE into the
itimerspec.
Source§fn from(value: &TimerExpMode<TIMERTYPE>) -> Self
fn from(value: &TimerExpMode<TIMERTYPE>) -> Self
Converts to this type from the input type.
Source§impl<TIMERTYPE: ModeTimeType> From<TimerExpMode<TIMERTYPE>> for itimerspec
impl<TIMERTYPE: ModeTimeType> From<TimerExpMode<TIMERTYPE>> for itimerspec
Source§fn from(value: TimerExpMode<TIMERTYPE>) -> Self
fn from(value: TimerExpMode<TIMERTYPE>) -> Self
Converts to this type from the input type.
Source§impl<TIMERTYPE: ModeTimeType> From<itimerspec> for TimerExpMode<TIMERTYPE>
Converts from itimerspec into TimerExpMode of the TIMERTYPE.
impl<TIMERTYPE: ModeTimeType> From<itimerspec> for TimerExpMode<TIMERTYPE>
Converts from itimerspec into TimerExpMode of the TIMERTYPE.
Source§fn from(value: itimerspec) -> Self
fn from(value: itimerspec) -> Self
Converts to this type from the input type.
Source§impl Hash for itimerspec
impl Hash for itimerspec
Source§impl PartialEq for itimerspec
impl PartialEq for itimerspec
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