Enum nvapi::ClockDomain
source · [−]#[repr(i32)]
pub enum ClockDomain {
Graphics,
Memory,
Processor,
Video,
Undefined,
}
Expand description
An index into NV_GPU_CLOCK_FREQUENCIES.domain[]
Variants
Graphics
Memory
Processor
Video
Undefined
Implementations
sourceimpl PublicClockId
impl PublicClockId
pub fn from_raw(raw: i32) -> Result<PublicClockId, ArgumentRangeError>
pub fn raw(&self) -> i32
pub fn values() -> Cloned<Iter<'static, PublicClockId>>
Trait Implementations
sourceimpl Clone for PublicClockId
impl Clone for PublicClockId
sourcefn clone(&self) -> PublicClockId
fn clone(&self) -> PublicClockId
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 PublicClockId
impl Debug for PublicClockId
sourceimpl<'de> Deserialize<'de> for PublicClockId
impl<'de> Deserialize<'de> for PublicClockId
sourcefn deserialize<__D>(
__deserializer: __D
) -> Result<PublicClockId, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<PublicClockId, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl Display for PublicClockId
impl Display for PublicClockId
sourceimpl Hash for PublicClockId
impl Hash for PublicClockId
sourceimpl Into<i32> for PublicClockId
impl Into<i32> for PublicClockId
sourceimpl Ord for PublicClockId
impl Ord for PublicClockId
sourceimpl PartialEq<PublicClockId> for PublicClockId
impl PartialEq<PublicClockId> for PublicClockId
sourceimpl PartialOrd<PublicClockId> for PublicClockId
impl PartialOrd<PublicClockId> for PublicClockId
sourcefn partial_cmp(&self, other: &PublicClockId) -> Option<Ordering>
fn partial_cmp(&self, other: &PublicClockId) -> 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 PublicClockId
impl Serialize for PublicClockId
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 PublicClockId
impl Eq for PublicClockId
impl StructuralEq for PublicClockId
impl StructuralPartialEq for PublicClockId
Auto Trait Implementations
impl RefUnwindSafe for PublicClockId
impl Send for PublicClockId
impl Sync for PublicClockId
impl Unpin for PublicClockId
impl UnwindSafe for PublicClockId
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