#[repr(C)]pub struct timezone {
pub tz_minuteswest: c_int,
pub tz_dsttime: c_int,
}Expand description
时区结构体,用于 gettimeofday/settimeofday(现在已不推荐使用)。
Fields§
§tz_minuteswest: c_int格林威治以西的分钟数 (minutes west of Greenwich)
tz_dsttime: c_intDST 校正类型 (type of dst correction)
Trait Implementations§
impl Copy for timezone
impl Eq for timezone
impl StructuralPartialEq for timezone
Auto Trait Implementations§
impl Freeze for timezone
impl RefUnwindSafe for timezone
impl Send for timezone
impl Sync for timezone
impl Unpin for timezone
impl UnwindSafe for timezone
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.