Struct ptp_clock_time
#[repr(C)]
pub struct ptp_clock_time { pub sec: __s64, pub nsec: __u32, pub reserved: __u32 }
Fields
sec: __s64nsec: __u32reserved: __u32
Trait Implementations
impl Clone for ptp_clock_time
fn clone(&self) -> ptp_clock_time
impl Copy for ptp_clock_time
impl Debug for ptp_clock_time
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl Eq for ptp_clock_time
impl Hash for ptp_clock_time
fn hash<__H: Hasher>(&self, state: &mut __H)
impl PartialEq for ptp_clock_time
fn eq(&self, other: &ptp_clock_time) -> bool
impl StructuralPartialEq for ptp_clock_time
Auto Trait Implementations
impl Freeze for ptp_clock_time
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 UnsafeUnpin for ptp_clock_time
impl UnwindSafe for ptp_clock_time
Blanket Implementations
impl<T> Any for ptp_clock_time
where
T: 'static + ?Sized,
fn type_id(&self) -> TypeId
impl<T> Borrow<T> for ptp_clock_time
where
T: ?Sized,
fn borrow(&self) -> &T
impl<T> BorrowMut<T> for ptp_clock_time
where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
impl<T> CloneToUninit for ptp_clock_time
where
T: Clone,
unsafe fn clone_to_uninit(&self, dest: *mut u8)
impl<T> From<T> for ptp_clock_time
fn from(t: T) -> TReturns the argument unchanged.
impl<T, U> Into<U> for ptp_clock_time
where
U: From<T>,
fn into(self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses to do.
impl<T, U> TryFrom<U> for ptp_clock_time
where
U: Into<T>,
type Error = never;fn try_from(value: U) -> Result<T, never>
impl<T, U> TryInto<U> for ptp_clock_time
where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error;fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>