Enum nvapi::ClockFrequencyType
source · [−]#[repr(i32)]
pub enum ClockFrequencyType {
Current,
Base,
Boost,
Count,
}
Expand description
Used in NvAPI_GPU_GetAllClockFrequencies()
Variants
Current
Base
Boost
Count
Implementations
sourceimpl ClockFrequencyType
impl ClockFrequencyType
pub fn from_raw(raw: i32) -> Result<ClockFrequencyType, ArgumentRangeError>
pub fn raw(&self) -> i32
pub fn values() -> Cloned<Iter<'static, ClockFrequencyType>>
Trait Implementations
sourceimpl Clone for ClockFrequencyType
impl Clone for ClockFrequencyType
sourcefn clone(&self) -> ClockFrequencyType
fn clone(&self) -> ClockFrequencyType
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 ClockFrequencyType
impl Debug for ClockFrequencyType
sourceimpl<'de> Deserialize<'de> for ClockFrequencyType
impl<'de> Deserialize<'de> for ClockFrequencyType
sourcefn deserialize<__D>(
__deserializer: __D
) -> Result<ClockFrequencyType, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<ClockFrequencyType, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl Display for ClockFrequencyType
impl Display for ClockFrequencyType
sourceimpl Hash for ClockFrequencyType
impl Hash for ClockFrequencyType
sourceimpl Into<i32> for ClockFrequencyType
impl Into<i32> for ClockFrequencyType
sourceimpl Ord for ClockFrequencyType
impl Ord for ClockFrequencyType
sourceimpl PartialOrd<ClockFrequencyType> for ClockFrequencyType
impl PartialOrd<ClockFrequencyType> for ClockFrequencyType
sourcefn partial_cmp(&self, other: &ClockFrequencyType) -> Option<Ordering>
fn partial_cmp(&self, other: &ClockFrequencyType) -> 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
sourceimpl Serialize for ClockFrequencyType
impl Serialize for ClockFrequencyType
sourcefn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Copy for ClockFrequencyType
impl Eq for ClockFrequencyType
impl StructuralEq for ClockFrequencyType
impl StructuralPartialEq for ClockFrequencyType
Auto Trait Implementations
impl RefUnwindSafe for ClockFrequencyType
impl Send for ClockFrequencyType
impl Sync for ClockFrequencyType
impl Unpin for ClockFrequencyType
impl UnwindSafe for ClockFrequencyType
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