Struct ptp_sys_offset_precise

#[repr(C)]
pub struct ptp_sys_offset_precise { pub device: ptp_clock_time, pub sys_realtime: ptp_clock_time, pub sys_monoraw: ptp_clock_time, pub rsv: [c_uint; 4] }

Fields

device: ptp_clock_time
sys_realtime: ptp_clock_time
sys_monoraw: ptp_clock_time
rsv: [c_uint; 4]

Trait Implementations

impl Clone for ptp_sys_offset_precise

fn clone(&self) -> ptp_sys_offset_precise

impl Copy for ptp_sys_offset_precise

impl Debug for ptp_sys_offset_precise

fn fmt(&self, f: &mut Formatter<'_>) -> Result

impl Eq for ptp_sys_offset_precise

impl Hash for ptp_sys_offset_precise

fn hash<__H: Hasher>(&self, state: &mut __H)

impl PartialEq for ptp_sys_offset_precise

fn eq(&self, other: &ptp_sys_offset_precise) -> bool

impl StructuralPartialEq for ptp_sys_offset_precise

Auto Trait Implementations

impl Freeze for ptp_sys_offset_precise

impl RefUnwindSafe for ptp_sys_offset_precise

impl Send for ptp_sys_offset_precise

impl Sync for ptp_sys_offset_precise

impl Unpin for ptp_sys_offset_precise

impl UnsafeUnpin for ptp_sys_offset_precise

impl UnwindSafe for ptp_sys_offset_precise

Blanket Implementations

impl<T> Any for ptp_sys_offset_precise where T: 'static + ?Sized,

fn type_id(&self) -> TypeId

impl<T> Borrow<T> for ptp_sys_offset_precise where T: ?Sized,

fn borrow(&self) -> &T

impl<T> BorrowMut<T> for ptp_sys_offset_precise where T: ?Sized,

fn borrow_mut(&mut self) -> &mut T

impl<T> CloneToUninit for ptp_sys_offset_precise where T: Clone,

unsafe fn clone_to_uninit(&self, dest: *mut u8)

impl<T> From<T> for ptp_sys_offset_precise

fn from(t: T) -> T

Returns the argument unchanged.

impl<T, U> Into<U> for ptp_sys_offset_precise where U: From<T>,

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

impl<T, U> TryFrom<U> for ptp_sys_offset_precise where U: Into<T>,

type Error = never;
fn try_from(value: U) -> Result<T, never>

impl<T, U> TryInto<U> for ptp_sys_offset_precise where U: TryFrom<T>,

type Error = <U as TryFrom<T>>::Error;
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>