Struct zx::sys::zx_clock_transformation_t
source · #[repr(C)]pub struct zx_clock_transformation_t {
pub reference_offset: i64,
pub synthetic_offset: i64,
pub rate: zx_clock_rate_t,
}
Fields§
§reference_offset: i64
§synthetic_offset: i64
§rate: zx_clock_rate_t
Trait Implementations§
source§impl Clone for zx_clock_transformation_t
impl Clone for zx_clock_transformation_t
source§fn clone(&self) -> zx_clock_transformation_t
fn clone(&self) -> zx_clock_transformation_t
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 zx_clock_transformation_t
impl Debug for zx_clock_transformation_t
source§impl<Reference: Timeline, Output: Timeline> From<zx_clock_transformation_t> for ClockTransformation<Reference, Output>
impl<Reference: Timeline, Output: Timeline> From<zx_clock_transformation_t> for ClockTransformation<Reference, Output>
source§fn from(ct: zx_clock_transformation_t) -> Self
fn from(ct: zx_clock_transformation_t) -> Self
Converts to this type from the input type.
source§impl PartialEq for zx_clock_transformation_t
impl PartialEq for zx_clock_transformation_t
source§fn eq(&self, other: &zx_clock_transformation_t) -> bool
fn eq(&self, other: &zx_clock_transformation_t) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for zx_clock_transformation_t
impl StructuralPartialEq for zx_clock_transformation_t
Auto Trait Implementations§
impl Freeze for zx_clock_transformation_t
impl RefUnwindSafe for zx_clock_transformation_t
impl Send for zx_clock_transformation_t
impl Sync for zx_clock_transformation_t
impl Unpin for zx_clock_transformation_t
impl UnwindSafe for zx_clock_transformation_t
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)