#[repr(C)]pub struct Itimerval {
pub it_interval: timeval,
pub it_value: timeval,
}Expand description
用于设置传统 BSD 间隔定时器 (setitimer) 的结构。
Fields§
§it_interval: timeval定时器周期 (timer interval)
it_value: timeval定时器当前值 (current value)
Implementations§
Trait Implementations§
impl Copy for Itimerval
impl Eq for Itimerval
impl StructuralPartialEq for Itimerval
Auto Trait Implementations§
impl Freeze for Itimerval
impl RefUnwindSafe for Itimerval
impl Send for Itimerval
impl Sync for Itimerval
impl Unpin for Itimerval
impl UnwindSafe for Itimerval
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.