#[repr(i32)]pub enum ClockDomain {
Graphics = 0,
Memory = 4,
Processor = 7,
Video = 8,
Undefined = 32,
}Expand description
An index into NV_GPU_CLOCK_FREQUENCIES.domain[]
Variants§
Implementations§
Source§impl 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§
Source§impl Clone for PublicClockId
impl Clone for PublicClockId
Source§fn clone(&self) -> PublicClockId
fn clone(&self) -> PublicClockId
Returns a duplicate 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 PublicClockId
impl Debug for PublicClockId
Source§impl<'de> Deserialize<'de> for PublicClockId
impl<'de> Deserialize<'de> for PublicClockId
Source§fn 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
Source§impl Display for PublicClockId
impl Display for PublicClockId
Source§impl Hash for PublicClockId
impl Hash for PublicClockId
Source§impl Into<i32> for PublicClockId
impl Into<i32> for PublicClockId
Source§impl Ord for PublicClockId
impl Ord for PublicClockId
Source§fn cmp(&self, other: &PublicClockId) -> Ordering
fn cmp(&self, other: &PublicClockId) -> 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 PublicClockId
impl PartialEq for PublicClockId
Source§impl PartialOrd for PublicClockId
impl PartialOrd for PublicClockId
Source§impl Serialize for PublicClockId
impl Serialize for PublicClockId
Source§fn 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 StructuralPartialEq for PublicClockId
Auto Trait Implementations§
impl Freeze for PublicClockId
impl RefUnwindSafe for PublicClockId
impl Send for PublicClockId
impl Sync for PublicClockId
impl Unpin for PublicClockId
impl UnwindSafe for PublicClockId
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