pub struct SystemClockDescriptor {
pub external_clock_reference_indicator: bool,
pub clock_accuracy_integer: u8,
pub clock_accuracy_exponent: u8,
}Expand description
System Clock Descriptor.
Fields§
§external_clock_reference_indicator: boolExternal clock reference indicator.
clock_accuracy_integer: u8Clock accuracy integer (6 bits).
clock_accuracy_exponent: u8Clock accuracy exponent (3 bits).
Trait Implementations§
Source§impl Clone for SystemClockDescriptor
impl Clone for SystemClockDescriptor
Source§fn clone(&self) -> SystemClockDescriptor
fn clone(&self) -> SystemClockDescriptor
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SystemClockDescriptor
impl Debug for SystemClockDescriptor
Source§impl<'a> DescriptorDef<'a> for SystemClockDescriptor
impl<'a> DescriptorDef<'a> for SystemClockDescriptor
impl Eq for SystemClockDescriptor
Source§impl<'a> From<SystemClockDescriptor> for AnyDescriptor<'a>
impl<'a> From<SystemClockDescriptor> for AnyDescriptor<'a>
Source§fn from(d: SystemClockDescriptor) -> Self
fn from(d: SystemClockDescriptor) -> Self
Converts to this type from the input type.
Source§impl<'a> Parse<'a> for SystemClockDescriptor
impl<'a> Parse<'a> for SystemClockDescriptor
Source§impl PartialEq for SystemClockDescriptor
impl PartialEq for SystemClockDescriptor
Source§fn eq(&self, other: &SystemClockDescriptor) -> bool
fn eq(&self, other: &SystemClockDescriptor) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for SystemClockDescriptor
impl Serialize for SystemClockDescriptor
Source§impl Serialize for SystemClockDescriptor
impl Serialize for SystemClockDescriptor
Source§type Error = Error
type Error = Error
The error type this implementer returns (usually the same as the
corresponding
Parse impl, but need not be).Source§fn serialized_len(&self) -> usize
fn serialized_len(&self) -> usize
Number of bytes
serialize_into will write.impl StructuralPartialEq for SystemClockDescriptor
Source§impl<'a> Yokeable<'a> for SystemClockDescriptorwhere
Self: Sized,
impl<'a> Yokeable<'a> for SystemClockDescriptorwhere
Self: Sized,
Source§type Output = SystemClockDescriptor
type Output = SystemClockDescriptor
This type MUST be
Self with the 'static replaced with 'a, i.e. Self<'a>Source§fn transform_owned(self) -> Self::Output
fn transform_owned(self) -> Self::Output
Auto Trait Implementations§
impl Freeze for SystemClockDescriptor
impl RefUnwindSafe for SystemClockDescriptor
impl Send for SystemClockDescriptor
impl Sync for SystemClockDescriptor
impl Unpin for SystemClockDescriptor
impl UnsafeUnpin for SystemClockDescriptor
impl UnwindSafe for SystemClockDescriptor
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