Struct ptp_sys_offset

#[repr(C)]
pub struct ptp_sys_offset { pub n_samples: c_uint, pub rsv: [c_uint; 3], pub ts: [ptp_clock_time; 51] }

Fields

n_samples: c_uint
rsv: [c_uint; 3]
ts: [ptp_clock_time; 51]

Trait Implementations

impl Clone for ptp_sys_offset

fn clone(&self) -> ptp_sys_offset

impl Copy for ptp_sys_offset

impl Debug for ptp_sys_offset

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

impl Eq for ptp_sys_offset

impl Hash for ptp_sys_offset

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

impl PartialEq for ptp_sys_offset

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

impl StructuralPartialEq for ptp_sys_offset

Auto Trait Implementations

impl Freeze for ptp_sys_offset

impl RefUnwindSafe for ptp_sys_offset

impl Send for ptp_sys_offset

impl Sync for ptp_sys_offset

impl Unpin for ptp_sys_offset

impl UnsafeUnpin for ptp_sys_offset

impl UnwindSafe for ptp_sys_offset

Blanket Implementations

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

fn type_id(&self) -> TypeId

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

fn borrow(&self) -> &T

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

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

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

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

impl<T> From<T> for ptp_sys_offset

fn from(t: T) -> T

Returns the argument unchanged.

impl<T, U> Into<U> for ptp_sys_offset 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 where U: Into<T>,

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

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

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