Struct libc::ptp_clock_time
source · #[repr(C)]pub struct ptp_clock_time {
pub sec: __s64,
pub nsec: __u32,
pub reserved: __u32,
}
Fields§
§sec: __s64
§nsec: __u32
§reserved: __u32
Trait Implementations§
source§impl Clone for ptp_clock_time
impl Clone for ptp_clock_time
source§fn clone(&self) -> ptp_clock_time
fn clone(&self) -> ptp_clock_time
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 ptp_clock_time
impl Debug for ptp_clock_time
source§impl Hash for ptp_clock_time
impl Hash for ptp_clock_time
source§impl PartialEq for ptp_clock_time
impl PartialEq for ptp_clock_time
source§fn eq(&self, other: &ptp_clock_time) -> bool
fn eq(&self, other: &ptp_clock_time) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for ptp_clock_time
impl Eq for ptp_clock_time
impl StructuralPartialEq for ptp_clock_time
Auto Trait Implementations§
impl RefUnwindSafe for ptp_clock_time
impl Send for ptp_clock_time
impl Sync for ptp_clock_time
impl Unpin for ptp_clock_time
impl UnwindSafe for ptp_clock_time
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