Struct nvapi::CelsiusShifted
source · [−]pub struct CelsiusShifted(pub i32);
Expand description
Nvidia encodes temperature as << 8
for some reason sometimes.
Tuple Fields
0: i32
Implementations
sourceimpl CelsiusShifted
impl CelsiusShifted
Trait Implementations
sourceimpl Clone for CelsiusShifted
impl Clone for CelsiusShifted
sourcefn clone(&self) -> CelsiusShifted
fn clone(&self) -> CelsiusShifted
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 CelsiusShifted
impl Debug for CelsiusShifted
sourceimpl Default for CelsiusShifted
impl Default for CelsiusShifted
sourcefn default() -> CelsiusShifted
fn default() -> CelsiusShifted
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for CelsiusShifted
impl<'de> Deserialize<'de> for CelsiusShifted
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl Display for CelsiusShifted
impl Display for CelsiusShifted
sourceimpl From<Celsius> for CelsiusShifted
impl From<Celsius> for CelsiusShifted
sourceimpl From<CelsiusShifted> for Celsius
impl From<CelsiusShifted> for Celsius
sourcefn from(c: CelsiusShifted) -> Self
fn from(c: CelsiusShifted) -> Self
Converts to this type from the input type.
sourceimpl Hash for CelsiusShifted
impl Hash for CelsiusShifted
sourceimpl Ord for CelsiusShifted
impl Ord for CelsiusShifted
sourceimpl PartialEq<CelsiusShifted> for CelsiusShifted
impl PartialEq<CelsiusShifted> for CelsiusShifted
sourcefn eq(&self, other: &CelsiusShifted) -> bool
fn eq(&self, other: &CelsiusShifted) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &CelsiusShifted) -> bool
fn ne(&self, other: &CelsiusShifted) -> bool
This method tests for !=
.
sourceimpl PartialOrd<CelsiusShifted> for CelsiusShifted
impl PartialOrd<CelsiusShifted> for CelsiusShifted
sourcefn partial_cmp(&self, other: &CelsiusShifted) -> Option<Ordering>
fn partial_cmp(&self, other: &CelsiusShifted) -> 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 CelsiusShifted
impl Serialize for CelsiusShifted
impl Copy for CelsiusShifted
impl Eq for CelsiusShifted
impl StructuralEq for CelsiusShifted
impl StructuralPartialEq for CelsiusShifted
Auto Trait Implementations
impl RefUnwindSafe for CelsiusShifted
impl Send for CelsiusShifted
impl Sync for CelsiusShifted
impl Unpin for CelsiusShifted
impl UnwindSafe for CelsiusShifted
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