Enum nvapi::ClockEntry
source · [−]pub enum ClockEntry {
Single {
domain: ClockDomain,
editable: bool,
frequency_delta: Delta<KilohertzDelta>,
frequency: Kilohertz,
},
Range {
domain: ClockDomain,
editable: bool,
frequency_delta: Delta<KilohertzDelta>,
frequency_range: Range<Kilohertz>,
voltage_domain: VoltageDomain,
voltage_range: Range<Microvolts>,
},
}
Variants
Single
Range
Fields
domain: ClockDomain
editable: bool
frequency_delta: Delta<KilohertzDelta>
voltage_domain: VoltageDomain
voltage_range: Range<Microvolts>
Implementations
sourceimpl ClockEntry
impl ClockEntry
pub fn domain(&self) -> ClockDomain
pub fn editable(&self) -> bool
pub fn frequency_delta(&self) -> Delta<KilohertzDelta>
Trait Implementations
sourceimpl Clone for ClockEntry
impl Clone for ClockEntry
sourcefn clone(&self) -> ClockEntry
fn clone(&self) -> ClockEntry
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ClockEntry
impl Debug for ClockEntry
sourceimpl Hash for ClockEntry
impl Hash for ClockEntry
sourceimpl Ord for ClockEntry
impl Ord for ClockEntry
sourceimpl PartialEq<ClockEntry> for ClockEntry
impl PartialEq<ClockEntry> for ClockEntry
sourcefn eq(&self, other: &ClockEntry) -> bool
fn eq(&self, other: &ClockEntry) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ClockEntry) -> bool
fn ne(&self, other: &ClockEntry) -> bool
This method tests for !=
.
sourceimpl PartialOrd<ClockEntry> for ClockEntry
impl PartialOrd<ClockEntry> for ClockEntry
sourcefn partial_cmp(&self, other: &ClockEntry) -> Option<Ordering>
fn partial_cmp(&self, other: &ClockEntry) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
impl Copy for ClockEntry
impl Eq for ClockEntry
impl StructuralEq for ClockEntry
impl StructuralPartialEq for ClockEntry
Auto Trait Implementations
impl RefUnwindSafe for ClockEntry
impl Send for ClockEntry
impl Sync for ClockEntry
impl Unpin for ClockEntry
impl UnwindSafe for ClockEntry
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more