Struct uefi::table::runtime::TimeCapabilities [−][src]
#[repr(C)]pub struct TimeCapabilities { pub resolution: u32, pub accuracy: u32, pub sets_to_zero: bool, }
Expand description
Real time clock capabilities
Fields
resolution: u32
Expand description
Reporting resolution of the clock in counts per second. 1 for a normal PC-AT CMOS RTC device, which reports the time with 1-second resolution.
accuracy: u32
Expand description
Timekeeping accuracy in units of 1e-6 parts per million.
sets_to_zero: bool
Expand description
Whether a time set operation clears the device’s time below the “resolution” reporting level. False for normal PC-AT CMOS RTC devices.
Trait Implementations
impl Clone for TimeCapabilities
[src]
impl Clone for TimeCapabilities
[src]fn clone(&self) -> TimeCapabilities
[src]
fn clone(&self) -> TimeCapabilities
[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]Performs copy-assignment from source
. Read more
impl Debug for TimeCapabilities
[src]
impl Debug for TimeCapabilities
[src]impl PartialEq<TimeCapabilities> for TimeCapabilities
[src]
impl PartialEq<TimeCapabilities> for TimeCapabilities
[src]fn eq(&self, other: &TimeCapabilities) -> bool
[src]
fn eq(&self, other: &TimeCapabilities) -> bool
[src]This method tests for self
and other
values to be equal, and is used
by ==
. Read more
fn ne(&self, other: &TimeCapabilities) -> bool
[src]
fn ne(&self, other: &TimeCapabilities) -> bool
[src]This method tests for !=
.