Struct uefi_raw::protocol::misc::TimestampProperties
source · #[repr(C)]pub struct TimestampProperties {
pub frequency: u64,
pub end_value: u64,
}
Expand description
Properties of the timestamp counter.
Fields§
§frequency: u64
Timestamp counter frequency, in Hz.
end_value: u64
The maximum value of the timestamp counter before it rolls over. For
example, a 24-bit counter would have an end value of 0xff_ffff
.
Trait Implementations§
source§impl Clone for TimestampProperties
impl Clone for TimestampProperties
source§fn clone(&self) -> TimestampProperties
fn clone(&self) -> TimestampProperties
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 TimestampProperties
impl Debug for TimestampProperties
source§impl Default for TimestampProperties
impl Default for TimestampProperties
source§fn default() -> TimestampProperties
fn default() -> TimestampProperties
Returns the “default value” for a type. Read more
source§impl Hash for TimestampProperties
impl Hash for TimestampProperties
source§impl Ord for TimestampProperties
impl Ord for TimestampProperties
source§fn cmp(&self, other: &TimestampProperties) -> Ordering
fn cmp(&self, other: &TimestampProperties) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for TimestampProperties
impl PartialEq for TimestampProperties
source§impl PartialOrd for TimestampProperties
impl PartialOrd for TimestampProperties
impl Copy for TimestampProperties
impl Eq for TimestampProperties
impl StructuralPartialEq for TimestampProperties
Auto Trait Implementations§
impl Freeze for TimestampProperties
impl RefUnwindSafe for TimestampProperties
impl Send for TimestampProperties
impl Sync for TimestampProperties
impl Unpin for TimestampProperties
impl UnwindSafe for TimestampProperties
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)